setting automatic debug=True for non-prod environment