Your obligations to support your children and your spouse come ahead of your obligation to pay other debts. The court will absolutely NOT consider the mortgage in setting child support, and will consider it only minimally in setting spousal support. What's the long-term plan for the house?
You need to review ALL the details of your financial situation with an experienced family law attorney to sort this out.
Your legal obligation to support your child and to pay court-ordered spousal support take precedence over your mortgage and other debts. There are several factors that your question does not address, such as whether your mortgage debt exceeds the value of the marital home. Your situation is one that I believe you need some legal advice on, and I recommend that you consult with a family law/divorce attorney in your area for such advice and an explanation of your rights and the law. Good luck...your situation is a common one and one that makes divorce a difficult situation to navigate through.