Is divorce an escape from a spouse’s debts?

Nowadays, more and more marriages end in divorce. For some, divorce is also an idea of ‚Äč‚Äčescaping spouse’s debts. Is it possible? Does divorce protect us from debts incurred by my spouse? Does it matter that we knew or not…