pytest --trace
Executing tests using pytest --trace automatically sets a breakpoint at the beginning of the test.