summaryrefslogtreecommitdiff
path: root/Doc/using/cmdline.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-19 23:15:02 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-02-19 23:15:02 +0100
commit6a4917738bd3630ed84a49f799452cb0977f0668 (patch)
tree32faba843ca5a96bb62887922ab8b2c92e477420 /Doc/using/cmdline.rst
parent1363469804a0eb5bb4156bd28c16c924a217e65f (diff)
downloadcpython-6a4917738bd3630ed84a49f799452cb0977f0668.tar.gz
asyncio, Tulip issue #136: Add get/set_debug() methods to BaseEventLoopTests.
Add also a PYTHONASYNCIODEBUG environment variable to debug coroutines since Python startup, to be able to debug coroutines defined directly in the asyncio module.
Diffstat (limited to 'Doc/using/cmdline.rst')
-rw-r--r--Doc/using/cmdline.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 4807a3688c..0c3c2037e8 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -614,6 +614,14 @@ conflict.
.. versionadded:: 3.4
+.. envvar:: PYTHONASYNCIODEBUG
+
+ If this environment variable is set to a non-empty string, enable the debug
+ mode of the :mod:`asyncio` module.
+
+ .. versionadded:: 3.4
+
+
Debug-mode variables
~~~~~~~~~~~~~~~~~~~~