I use Flask framework and build a Python project. It shows all errors on the page when I run a python file on the SSH shell.
After I installed WSGI to run the server automatically, it started not showing errors on the browser. It only shows "Internal Server Error" if there is an error.
my python file has this option at the end.
if __name__ == '__main__':
app.run(host='0.0.0.0',port=5000,debug=True)
I would like to look at all errors to figure out problems. Is there a way to look at all errors on the browser?