You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An easy way is to start a trace there. Add the following line at the beginning of your test:
importpudb;pudb.set_trace()
And pudb will stop there. However if you want randomly set break points using pudb and expect that py.test --pudb -k test_my_function stop when it finds such breakpoints its a different story. I think that it has to do with #3.
Looks like pytest supports a --trace option that will drop into pdb at the start of each specified test. With the pudb plugin, is it possible to have it drop into pudb instead? Or maybe with a similar --trace-pudb option.
I want to run a single test, and have PuDB show up on the first line of the test. Is that possible?
The text was updated successfully, but these errors were encountered: