I'm working on my project with asyncio coroutines and find it hard to get an error and debug the code, is there a general source/method that someone can point me to how to debug coroutines?
asyncio.run(async_fn(), debug=True)
More details: https://docs.python.org/3/library/asyncio-dev.html#asyncio-debug-mode
Also it's already in Pycharm 2022.3 https://youtrack.jetbrains.com/issue/PY-22961
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.