All financial aspects of divorce are settled by what are called "ancillary matters". Effectively, all the assets and liabilities (including debts) go into a pot and a decision is made on how the pot is split. If the two parties cannot agree on the split the judge makes the decision.
The problem for you is that this can become quite complex and disputed cases are best handled by a solicitor - otherwise you have to represent yourself and can be at a disadvantage in not knowing Court procedure, forms etc., and not knowing what sort of split is likely to be seen as reasonable by the Court. Ideally, you should list all the assets debts and liabilities and try to come to an agreement with your wife on what is to happen to each of them.
So far as creditors are concerned, if there are debts in your sole name they can only chase you. For debts in joint names they can chase either of you - you are both jointly and severally liable for the whole amount.
Your top priority has to be to make sure you pay to keep a roof over your head, pay essential bills such as council tax, gas, electricity etc., and have enough to live on. If you then cannot afford all the payments on the other debts you need to explain your situation to creditors and try to agree reduced payments with them.