The application must be made to the superior court of the county where the debtor was convicted, and upon producing a copy of the sentence of such debtor, duly certified by the clerk of the court, together with an affidavit of the applicant that such debtor is actually imprisoned under such sentence, and is indebted in any sum, the clerk or the judge may immediately appoint a trustee of the estate of such debtor.
N.C. Gen. Stat. § 23-19