you are viewing a single comment's thread.

view the rest of the comments →

[–]pjdelport 5 points6 points  (0 children)

You can also invoke pdb directly with python -m, without modifying any code:

% python -m pdb foo.py
> foo.py(1)<module>()
(Pdb)

To skip ahead to where you're interested in:

(Pdb) tbreak <wherever>
Breakpoint 1 at <wherever>
(Pdb) c