Your question doesn't make sense. We don't have debtor's prisons in this country. You would have to explain why you are in prison.
One cannot be jailed as you described.
READ THIS BEFORE CALLING OR EMAILING ME: I am licensed to practice before the state and federal courts in Virginia. We have not established an attorney-client relationship unless we have a signed representation agreement and you have paid me. I am providing educational instruction only--not legal advice. You should speak with an attorney to whom you have provided all the facts, before you take steps that may impact your legal rights. I am not obligated to answer subsequent emails or phone calls unless you have hired me. I wish you the best of luck with your situation.
One of my colleagues mentioned that a person can be thrown in jail for not paying child support. This happens quite often, sadly. This particular matter, and others, like failure to pay other kinds of court-ordered payments, are usually handled as civil contempt matters.
Child support, in particular, is a tricky one. Back payments are not discharged, regardless of changed circumstances. It is expected that a person paying child support will go to court to file for a modification of a child support order if s/he loses his/her job or is reduced to part-time employment or something similar.
It is routine in DC for a judge to issue an arrest warrant for somebody who has not paid court-ordered fines or contributions in criminal cases. The expectation is always that a person understands his/her obligation to make court-ordered payments and will take the initiative to go back to court if s/he is not able to make the payments. If a person doesn't do so and s/he is picked up, the matter is handled as an issue of contempt of court, which is not a right protected by the Constitution.
My advice should in no way be construed as creating an attorney-client relationship.