Logo TheBeArsenal

Python | Technical Handbook

FLASK_ENV = 'development' not activating debug mode

Solution
Along with FLASK_ENV = 'development', add FLASK_DEBUG = 1 in the flask env file. Or run this command - export FLASK_DEBUG=1