問題: pycharm debug async 函數(shù)時(shí), 在斷點(diǎn)處不暫停
需要打開新特性(python.debug.asyncio.repl)
雙擊 Shift (Search Everywhere)
-
搜索
Registry, 點(diǎn)擊
image.png 在彈出窗口找到
python.debug.asyncio.repl打鉤(可以 cmd+F 搜索), 關(guān)閉窗口

image.png
- 重啟 IDE
如要復(fù)原配置, 在上面第3步, 對(duì)鉤去掉
參考: https://youtrack.jetbrains.com/issue/PY-57667/Asyncio-support-for-the-debugger-EXPERIMENTAL-FEATURE
