Following example shows what inflation (i.e. monetary devaluation) does to debt:
Let's say you owe €1000 and inflation is 5% p/a. In a years time the €1000 is only worth €950, i.e. €1000 will only buy what €950 bought the year before. It's like the creditor telling you today that you can settle your debts for 5% less.
Onthe other hand, your savings are adversely affected:
€1000 in savings will only buy €950 worth of goods in a year, when inflation is 5% p/a.