Any person, in actual confinement for debt or damages in any jail of this State, who is willing to deliver up to his creditor or creditors all his estate, both real and personal, toward their payment, may bring an action, in a summary manner, for his discharge under this chapter, in the Superior Court.
N.J.S. § 2A:20-1