summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2016-08-10 10:46:54 -0700
committerTim Graham <timograham@gmail.com>2016-08-12 20:43:17 -0400
commit5890b1613c0a348750a11239ab73a9f0075314ee (patch)
treeeae6480df0a7aaa7c67fe1934a568d54e06dec12 /docs/ref
parent9556005425ca3d1c8c2a0e8b48e228e63a0bdd32 (diff)
Fixed #27008 -- Added --debug-mode option to DiscoverRunner.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/django-admin.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 3a0b05516e..3421478f33 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1254,6 +1254,13 @@ Sorts test cases in the opposite execution order. This may help in debugging
the side effects of tests that aren't properly isolated. :ref:`Grouping by test
class <order-of-tests>` is preserved when using this option.
+.. django-admin-option:: --debug-mode
+
+.. versionadded:: 1.11
+
+Sets the :setting:`DEBUG` setting to ``True`` prior to running tests. This may
+help troubleshoot test failures.
+
.. django-admin-option:: --debug-sql, -d
Enables :ref:`SQL logging <django-db-logger>` for failing tests. If