Debt can be a good thing?

Debt can be a good thing? I've heard when there's a lot of inflation such as right now that debt can actually be a good thing to hold. What do you think of this? In some cases can debt actually be a good thing to have?