Browse files

[svn] updating docs to reflect debug defaulting to false

--HG--
branch : trunk
  • Loading branch information...
1 parent 0610b95 commit 2e5c980a2fff835aca2b79725342e571a3e82e37 pjenvey committed Jul 27, 2006
Showing with 5 additions and 5 deletions.
  1. +4 −4 docs/getting_started.txt
  2. +1 −1 docs/interactive_debugger.txt
View
8 docs/getting_started.txt
@@ -100,15 +100,15 @@ Interactive Debugger
If you are developing an application you will want to use the interactive debugging which is enabled by default in ``development.ini`` but disabled in config files your users will generate so that they don't accidentally use it on a production site. If debugging was accidentally left on for a production site and an error occurred the visitor would be able to execute malicious code using the interactive debugging prompt.
-Enable debugging by commenting out the line that looks like this in the ``[app:main]`` section of your ``development.ini`` file::
+Enable debugging by enabling the ``debug`` variable the ``[app:main]`` section of your ``development.ini`` file. Change the line::
set debug = false
-so that it looks like this::
+to::
- # set debug = false
+ set debug = true
-If debug is not set to ``false`` you will be able to interactively debug your application but as mentioned earlier this should not be used in a production site as it is a MAJOR SECURITY RISK.
+If ``debug`` is enabled you will be able to interactively debug your application but as mentioned earlier this should not be used in a production site as it is a MAJOR SECURITY RISK.
More information is available in the `Interactive Debugger <interactive_debugger.html>`_ documentation.
View
2 docs/interactive_debugger.txt
@@ -51,7 +51,7 @@ Here's what exploring the Traceback from the above example looks like (Excerpt o
Email Options
=============
-You can make all sorts of changes to how the debugging works. For example if you set ``debug = false`` in the config file Pylons will email you an error report instead of displaying it as long as you provide your email address at the top of the config file::
+You can make all sorts of changes to how the debugging works. For example if you disable the ``debug`` variable in the config file Pylons will email you an error report instead of displaying it as long as you provide your email address at the top of the config file::
error_email_from = you@example.com

0 comments on commit 2e5c980

Please sign in to comment.