change debug mode