updated debugging for heroku