After the country’s 1980s credit boom went bust, large fiscal deficits were essential to prevent a severe depression. But the inevitable consequence was that, while Japanese companies slowly deleveraged, public debt rose to 245% of GDP.