Debts are treated just like assets. If they are community then they are divided equally. Just like where you can have separate property you can have separate debts.