Can PyCharm drop into debug when py.test tests fail September 14, 2023 by Tarik There is a py.test plugin, pytest-pycharm, that will halt the PyCharm debugger when a test emits an uncaught exception.