get_debug_flag
Get whether debug mode should be enabled for the app, indicated by the :envvar:FLASK_DEBUG environment variable. The default is False.
def get_debug_flag() - > bool
Get whether debug mode should be enabled for the app, indicated by the :envvar:FLASK_DEBUG environment variable. The default is False.
Returns
| Type | Description |
|---|---|
bool | True if the FLASK_DEBUG environment variable is set to a truthy value, otherwise False |