I do not know who and how made people think that debt is something bad, but that caused a whole generation to be both in debt, and also not have good investments.
Debt is not a bad thing, not inheritly. There are bad debts and there good debts and you need to figure out which one you are on the side of. If you take out a mortgage to buy a house, pay about 1.5k monthly on the mortgage and make 3k on the rent, while the price rises %1 above inflation a year, that is a good debt to have. If you take out a loan, or just use a credit card to buy the new iphone, that is a bad debt.
Know the difference between the two and you will be doing fine. For example many credit card companies will give you low rates, definitely low if you have used it long enough and have a good credit with them. You could always use that to purchase something that will make you enough profit. Or taking out a loan that you could pay even without the asset. Assuming you have 500 bucks saved aside every month, it is smarter to lock that down for the next few years and get couple grand right now, because that way you will be paying interest, but you will also accumulate profit as well.
If you know the difference between bad debt and good debt, and if you take out a debt based on that, then as long as its a good one, you will be fine.