If you can help me I'll write off part of your debt.
Debt, singular, considered as a whole. But "some of your debts" would be okay.
"to me" is not wrong, but perhaps it isn't needed; the only debts I can write off are your debts to me. Use "to me" if you want a bit of emphasis.
Student or Learner