Purchasing power is a different issue entirely. But you asked how they could repay all the debt, and the answer is simple - they can just print whatever they want.