JayL
JayL

Reputation: 1

In PyCharm I enabled FLASK_DEBUG, and FLASK_DEBUG shows = 1,but debug mode still off

In PyCharm I enabled FLASK_DEBUG, and FLASK_DEBUG shows = 1,but debug mode still off

enabled debug
enabled debug

still debug mode off
still debug mode off

Upvotes: 0

Views: 135

Answers (1)

se7en
se7en

Reputation: 880

use FLASK_DEBUG=True, I advice you remove the space from the env settings example:

FLASK_ENV=development
FLASK_DEBUG=True
FLASK_RUN_PORT=5000

if it does not work then you probably need the pycharm plugin called EnvFile

Upvotes: 1

Related Questions