We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 285efe2 commit 677c952Copy full SHA for 677c952
Doc/library/pdb.rst
@@ -188,6 +188,21 @@ slightly different way:
188
.. versionadded:: 3.14
189
The *commands* argument.
190
191
+
192
+.. awaitablefunction:: set_trace_async(*, header=None, commands=None)
193
194
+ async version of :func:`set_trace`. This function should be used inside an
195
+ async function with :keyword:`await`.
196
197
+ .. code-block:: python
198
199
+ async def f():
200
+ await pdb.set_trace_async()
201
202
+ :keyword:`await` statements are supported if the debugger is invoked by this function.
203
204
+ .. versionadded:: 3.14
205
206
.. function:: post_mortem(t=None)
207
208
Enter post-mortem debugging of the given exception or
0 commit comments