diff options
| author | Chris McDonough <chrism@plope.com> | 2010-12-16 15:03:15 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-12-16 15:03:15 -0500 |
| commit | 24bf2a83c5172e6974c997495e8f1c7922394617 (patch) | |
| tree | b27072f09db57924ec22179538e9cf42204098be /docs/narr/environment.rst | |
| parent | a61f345b414bb4529c2a5927a73192ce874ab001 (diff) | |
| download | pyramid-24bf2a83c5172e6974c997495e8f1c7922394617.tar.gz pyramid-24bf2a83c5172e6974c997495e8f1c7922394617.tar.bz2 pyramid-24bf2a83c5172e6974c997495e8f1c7922394617.zip | |
Features
--------
- Added ``debug_routematch`` configuration setting that logs matched routes
(including the matchdict and predicates).
Documentation
-------------
- Added "Debugging Route Matching" section to the urldispatch narrative
documentation chapter.
- Added reference to ``BFG_DEBUG_ROUTEMATCH`` envvar and ``debug_routematch``
config file setting to the Environment narrative docs chapter.
Diffstat (limited to 'docs/narr/environment.rst')
| -rw-r--r-- | docs/narr/environment.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/narr/environment.rst b/docs/narr/environment.rst index 44e75542c..08fa7af44 100644 --- a/docs/narr/environment.rst +++ b/docs/narr/environment.rst @@ -97,6 +97,21 @@ when this value is true. See also :ref:`debug_notfound_section`. | | | +---------------------------------+-----------------------------+ +Debugging Route Matching +------------------------ + +Print debugging messages related to :term:`url dispatch` route matching when +this value is true. See also :ref:`debug_routematch_section`. + ++---------------------------------+-----------------------------+ +| Environment Variable Name | Config File Setting Name | ++=================================+=============================+ +| ``BFG_DEBUG_ROUTEMATCH`` | ``debug_routematch`` | +| | | +| | | +| | | ++---------------------------------+-----------------------------+ + Debugging All ------------- |
