forked from orbit-oss/flask
Added docs on use_evalex. This fixes #90
This commit is contained in:
parent
a3a72e2d8d
commit
e5008386b1
1 changed files with 5 additions and 0 deletions
|
|
@ -371,6 +371,11 @@ class Flask(_PackageBoundObject):
|
||||||
:attr:`debug` flag is set the server will automatically reload
|
:attr:`debug` flag is set the server will automatically reload
|
||||||
for code changes and show a debugger in case an exception happened.
|
for code changes and show a debugger in case an exception happened.
|
||||||
|
|
||||||
|
If you want to run the application in debug mode, but disable the
|
||||||
|
code execution on the interactive debugger, you can pass
|
||||||
|
``use_evalex=False`` as parameter. This will keep the debugger's
|
||||||
|
traceback screen active, but disable code execution.
|
||||||
|
|
||||||
.. admonition:: Keep in Mind
|
.. admonition:: Keep in Mind
|
||||||
|
|
||||||
Flask will suppress any server error with a generic error page
|
Flask will suppress any server error with a generic error page
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue