set up debug mode for heroku