Can PyCharm drop into debug when py.test tests fail

前端 未结 2 523
野的像风
野的像风 2021-02-02 08:55

When running tests with py.test there is a --pdb option to enter pdb on failure.

Is there a similar way to enter the debugger when running the

2条回答
  •  感动是毒
    2021-02-02 09:19

    There is a py.test plugin, pytest-pycharm, that will halt the PyCharm debugger when a test emits an uncaught exception.

提交回复
热议问题