As a self-employed person, you cannot receive a salary. You can take a draw from your business bank account to cover your personal expenses, but this has no impact on your taxes. You are taxed on your revenue minus expenses; you cannot subtract the draw.
When debts are cancelled in bankruptcy cases, the cancelled amount is excluded from gross income. Tax attributes are certain losses, credits, and property basis that must be reduced to the extent of the exclusion.