Update documentation to include mention of DEBUG_ON_EXCEPTION
This commit is contained in:
@@ -25,7 +25,7 @@ from .models import AutoAdminSingleton
|
||||
from .debug import insert_pdb_exception_hook
|
||||
|
||||
if getattr(settings, 'DEBUG_ON_EXCEPTION', False):
|
||||
insert_import_hook()
|
||||
insert_pdb_exception_hook()
|
||||
|
||||
bind_links(['about_view', 'license_view'], [about_view, license_view], menu_name='secondary_menu')
|
||||
bind_links(['current_user_details', 'current_user_edit', 'password_change_view'], [current_user_details, current_user_edit, password_change_view], menu_name='secondary_menu')
|
||||
|
||||
@@ -101,4 +101,14 @@ Likewise, to see the debug output of the ``tags`` app, just add the following in
|
||||
},
|
||||
|
||||
|
||||
--------------------------
|
||||
Automatic PDB on exception
|
||||
--------------------------
|
||||
For an additional tool for debugging problems in **Mayan EDMS**, set the
|
||||
configuration option ``DEBUG_ON_EXCEPTION`` to True and whenever an
|
||||
exception occurs, the `Python Debugger`_ will launch automatically at
|
||||
the exception point.
|
||||
|
||||
|
||||
.. _`logging capabilities`: https://docs.djangoproject.com/en/dev/topics/logging
|
||||
.. _`Python Debugger`: http://docs.python.org/library/pdb.html
|
||||
|
||||
Reference in New Issue
Block a user