The debt trap: A two-compartment train wreck… and how to avoid it