change debug switch macro