You were actually jailed for violating a court order that you pay a debt due your children. There is no trial of your peers since there are no jury trials for domestic relation cases and specifically there are no trials by your peers for violating a court order.
It may be that you were wrongfully jailed and you should contact a domestic relations attorney. I included a link for the bar association which has a referral service or a better option may be to contact a lawyer from SC that posts to this site. Good luck.
Support obligations are subject to the contempt powers of the court. You were jailed for violating a court order. You are not entitled to a jury trial. This issue is not easy to explain, but when you fail to pay court ordered support, you can be jailed, not for the debt, but for failing to obey the court.
R. Jason de Groot, Esq.,
Jailing someone for contempt for violating a support order by failing to pay child support is constitutional, because in theory, you have the keys to your own jail cell. All you have to do to be released is pay back support.