python-resources - PyPI
https://pypi.org/project/python-resources22.03.2013 · from IPython import embed; embed() As it happens often, we added to resources two functions, launching either debugger or python console inside your test function. from resources import resources def test_something(): resources.pdb() # to launch debugger resources.shell() # to launch Python REPL