Pytest PuDB debugger integration based on pytest PDB integration
Use it as --pdb
py.test
command argument:
py.test --pudb
Or simply use pudb.set_trace
inside your python code:
def test_set_trace_integration():
# No --capture=no need
import pudb
pudb.set_trace()
assert 1 == 2
def test_pudb_b_integration():
# No --capture=no need
import pudb.b
# traceback is set up here
assert 1 == 2