Pointed out just above, Congress also has the power to create money , so it can, under the constitution, create script that pays off the debt.
IIRC, this was passed due to some politicians wanting to nullify debts and military pensions incurred by the Union in the Civil War.