When it may be necessary and proper for the enforcement or collection of any judgment or debt in favor of the state, or any officer thereof in his official capacity, or of any county, the district attorney with the approval of the attorney general shall institute and prosecute, in behalf of the creditor, a suit or suits to set aside and annul any conveyance or other device fraudulently made by the debtor, or any one for him, to hinder, delay, or defraud the creditor.