actually check debugging flag