From e5008386b1a7e0ef3ebb5a4082bf2176d7169ab9 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sat, 17 Jul 2010 15:41:05 +0200 Subject: [PATCH] Added docs on use_evalex. This fixes #90 --- flask/app.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flask/app.py b/flask/app.py index 21235897..0941cb7e 100644 --- a/flask/app.py +++ b/flask/app.py @@ -371,6 +371,11 @@ class Flask(_PackageBoundObject): :attr:`debug` flag is set the server will automatically reload 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 Flask will suppress any server error with a generic error page