Upon application of a party, the court, or any authorized officer of the court, the clerk of the court shall issue subpoenas in accordance with the provisions of Title 24 requiring attendance and testimony of witnesses and production of evidence at any hearing under this chapter. A delinquency proceeding conducted in this state shall be considered a criminal prosecution insofar as the applicability of Article 4 of Chapter 13 of Title 24.