I've setup a logger with Flask but it doesn't print to the Pycharm console, thought it might be because of not being in debug mode. app.debug = True
but FLASK_DEBUG = 0
when I run the application.
app = Flask(__name__)
app.debug = True
you can get it done by visiting the flask edit configuration tab..I have attached the screenshots..please follow it..
visit the flask configuration tab by finding this option in your top right corner
Here you can enable disable debug option for your flask app
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With