It can be the same but it can also be different. Debt is a liability but there are liabilities that are not debt. For example, a contingent liability is a liability but its not a debt. You don’t own money to someone (at least not for sure). You just consider (you might have evidence for that) that its more likely than not to be liable to pay for something that has happened in the past and you have posted a liability in your accounts.