Jeff Triplett

TIL: Use pytest.set_trace to set a breakpoint in py.test

Filed under: python, pytest, py.test, pdb

To set a breakpoint in py.test, use:

import pytest

pytest.set_trace()

source