When running tests with py.test there is a --pdb option to enter pdb on failure.
py.test
--pdb
Is there a similar way to enter the debugger when running the
There is a py.test plugin, pytest-pycharm, that will halt the PyCharm debugger when a test emits an uncaught exception.