In PyCharm I enabled FLASK_DEBUG, and FLASK_DEBUG shows = 1,but debug mode still off Flask flyf35 — 27 March 2023 · Comments off Solution FLASK_ENV=development FLASK_DEBUG=True FLASK_RUN_PORT=5000