enabling debug mode