How does higher inflation make paying off loans easier?

My friend told me that was the case, and why he willingly borrowed money despite earning so much from stocks (before the recession). I don't know how that's possible, other than the loan amount itself not succumbing to inflation and minimum wage increasing. But when I told him that, he told me I don't get it and that's not why paying back loans is easier during high inflation. So please explain to me why it is if you're very knowledgeable in economics.
How does higher inflation make paying off loans easier?
Post Opinion