export setDebugMode method