switch on debug mode