Unable to debug in pycharm with pytest

后端 未结 5 630
天命终不由人
天命终不由人 2021-02-01 00:56

I cannot debug in PyCharm using py.test. All the test suite is running ok in \"Debug mode\" but it doesn\'t stop on breakpoints.

I also have py

5条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-01 01:29

    TL;DR: Disable the "Gevent compatible" flag in the "Build, execution, Deployment" -> "Python Debugger".

    It seems that at some point I enabled the "Gevent compatible" debugger in pycharm, and since then pytest-pycharm stopped working. Disabling it will make pytest-pycharm work again. I hope this will solve the issue for some of you.

提交回复
热议问题