Why are you removing responsibility from the debtor? It's just as much the fault of the creditor to give the (maybe unpayable?) loan, as it is for the debtor to take/agree to it.
On the one hand, the debtor pretty much ends up stealing. And on the other hand, the creditor took a too-risky loan without considering the repayment ability of the person he was giving it to. We're conditioned to think this as some sort of cruel injustice (and it is indeed a sad situation), while completely ignoring the actions of the debtor.
You could go one step further and say that perhaps the debtor was committing fraud by tricking the creditor into giving out the loan when he knew the chance of repayment was low. (Assuming debt-slavery wasn't the goal of the creditor in the first place). Also exclude accidents and life-altering events (corner case). I'd imagine that after a few of these horrible incidents came to light in a connected world (i.e. modern times, not centuries past) creditors would start adding clauses into their contracts about possible re-payment plans/options, etc. Hell, they might not even offer to give the loans out if they were too risky.
If there is one thing I'd like individuals to take from this comment, it's that laws and regulations aren't the only solution to society's problems. I'd argue that they merely "mask" away the problems, without ever giving individuals a chance to resolve it amongst themselves in peaceful and non-barbaric ways. This is true now more than it has ever been in the history of our world, with the advent of modern communications and the internet. At least, give it a brainstorm/thought next time you jump to government intervention for any perceived injustice in this world.