can turn on / off debugMode