Enabling debug mode