Skip to content

Commit a25b270

Browse files
committed
link to debug mode docs.
1 parent 9f7d93f commit a25b270

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/howto/a-conceptual-overview-of-asyncio.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,9 @@ This behavior of ``await coroutine`` can trip a lot of people up!
326326
That example highlights how using only ``await coroutine`` could
327327
unintentionally hog control from other tasks and effectively stall the event
328328
loop.
329-
:func:`asyncio.run` can help you detect such occurences with the ``debug=True``
330-
flag.
329+
:func:`asyncio.run` can help you detect such occurences via the
330+
``debug=True`` flag which accordingly enables
331+
:ref:`debug mode <asyncio-debug-mode>`.
331332
Among other things, it will log any coroutines that monopolize execution for
332333
100ms or longer.
333334

0 commit comments

Comments
 (0)