When my deployed Flask application has an error, I only see a standard error message in the browser.
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Going through the logs to find the error is inconvenient. How can I output the error to the browser instead?