You should include the amount of liabilities and credit card debt you had immediately before the debt cancellation, which would include the amount on your Form 1099-C.
For more information, please see Publication 4681 (2023), Canceled Debts, Foreclosures, Repossessions, and Abandonments