If the divorcing spouses agree to a division of assets and debts after full disclosure, the court likely would not intervene.
If the spouses cannot agree with each other on how to divide things, the court will divide all assets and debts, whether community or separate, in a just and equitable manner. What is just and equitable depends on the specific facts of the marriage.
Factors include how long the marriage, the earning potential of each spouse, any agreement the spouses may have with each other, and many other factors.
Without knowing much more information about your case, no one can hazard any reliable guess as to what would happen in your specific case. For this reason, you should review your specific facts with your attorney to see what your legal options are.
Sign up to receive a 10-part series of useful information and legal advice about the divorce process.