People like to repeat this as if it's somehow insightful and helpful to the discussion, but it's vacuous. Yes, you can always just print away debts denominated in a currency you control. That says nothing about how much you fuck up the economy by doing so. That's why some countries that could print their way out of debt (Russia '98) default anyway, because even a default might not be as bad as (the risk of) triggering complete collapse of the currency.
The way to be fiscally responsible with your currency is to print enough so that everyone has a job, but so much that you're overrunning your output capacity and increasing inflation. Keep interest rates on bonds (if you choose to issue them) lower than your GDP growth (and since you're the monopoly issuer of your currency, you have control over interest rates) and you won't have issues with expanding debt % [1].
The first response to this is usually "well, Greece" or "well, Zimbabwe". The crucial difference in those countries was that what they owed was not their own currency, but foreign currencies.
It says a great deal about the possible effects of deficit spending.
If you owe a foreign currency and have a catastrophic decrease in output, you're going to have problems.
If your debts are denominated in your own currency and have stable output, then increasing net financial assets to the private sector can prop up aggregate demand to keep the economy operating at full employment.
Hence my point, to which reiterating how cool it is to print your way out of debt is non-responsive.
If your government owes IOU's that it can print itself (fiat currency), it can never default on those IOU's.
If your government owes IOU's printed by another government or sovereign body, then it can most certainly run out of them and must buy them at market rates.