The app is running on Heroku, but the issue when running is how to avoid the unhelpful error message of Internal Server Error
and get more verbose error messages. For example, in the production environment, even with app.debug set to True, I still get no debug.
It would seem the smart thing to do, is to log everything to a file, but I don't see some working examples that do that. I simply want to write to a file for example. Is there any minimum working sample code that I can see that does this, outputting application errors?
Of course my app has the following settings:
app.run(debug = True)
My Procfile is:
web: gunicorn login:app