IPython REPL does support await, but ipdb doesn't.
Python 3.8.0 (default, Oct 23 2019, 18:51:26)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.9.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import asyncio
In [2]: await asyncio.sleep(1)
In [3]: import ipdb; ipdb.set_trace()
--Call--
> /usr/lib/python3.8/site-packages/IPython/core/displayhook.py(252)__call__()
251
--> 252 def __call__(self, result=None):
253 """Printing with history cache management.
ipdb> await asyncio.sleep(1)
*** SyntaxError: 'await' outside function
Tested with ipdb 0.12.2
IPython REPL does support
await, but ipdb doesn't.Tested with ipdb 0.12.2