If you are a relatively self-disciplined person, your credit card's flexible repayment feature allows you to easily adjust your monthly repayment commitment based on your financially situation.
Student debt is interest-free, but wiping it means they no longer have monthly repayment commitments which affect the amount they can borrow on a mortgage.