How to show all errors in the browser for the Flask?

How to show all errors in the browser for the Flask?

If we run the python file on the shell, with the command - app.debug = True, then the Python Flask shows the detailed error in the browser.