Discharge of debt through bankruptcy is not taxable, unlike other types of discharge of debt (debt settlement, lawsuit settlement, etc.).
If you receive an IRS form 1099 for discharged debt from a creditor after bankruptcy, you should talk with your bankruptcy attorney. The 1099 amount should generally not be included on your tax return. If you include the 1099 amounts on your tax return, you may lose out on a tax refund.