debugMode created