Taking on debt versus accepting equity investment in a startup. What is the best choice?

https://thebusinessprofessor.com/en_US/business-transactions/debt-vs-equity-in-the-startup-venture