Does it mean that I will need to pay his debt?
A: If the debt was simply assigned to your ex, and was not deemed owing to you separately in the event of nonpayment by the spouse, then it is dischargable and you can be held secondarily liable (but, you could file bankruptcy yourself and have the debt discharged as to you).
If the debt was deemed owing to you in addition to being assigned, then it is nondischargable in bankruptcy and your ex cannot escape the debt.
Q: What about money he owe me?
A; He cannot discharge these debts in bankruptcy. He will owe them to you after bankruptcy, the same as before.
Q Also what about properties? If he discharged both houses, does it mean he will have them and I lost right to them?
A: If you are still on title to the properties, then you still own them after bankruptcy. But, you're liable for the mortgage, whether or not your ex is discharged from liability by the bankruptcy court.
Your issues are heavily tied to your consent decree. You will need to have a local attorney who understands both family law and bankruptcy law to figure out the exact status of your rights. It's too difficult for me to analyze here without reading your court orders.