enabling debug and debug toolbar