Inflation also raises nominal growth, which generally means more tax dollars for a given level of real output.
With the exception of actual defaults, government debt has often been paid off through two channels - inflation and economic growth.