(rookie) debug mode in flask cannot be entered.

console

Why isn"t there a debugger is activate prompt like on the Internet?

Mar.07,2021

to enable debug mode, you need to set the environment variable FLASK_DEBUG , as follows:
linux export FLASK_DEBUG=1 & & python-m flask run
windows set FLASK_DEBUG=1 & python-m flask run

refer to http://flask.pocoo.org/docs/0.


"in Pycharm 2018, to enable DEBUG mode, you need to select Edit Configurations, under the project name on the left side of the run button in the upper right corner of pycharm. After opening the editing interface, check FLASK_DEBU.
"
motherfucker.. Finally.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3ca15-446eb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3ca15-446eb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?