I find that in large multi-tier pieces of software it is typically easier to debug python code by putting the following within the code.
import pdb; pdb.set_trace() this sets a breakpoint at the LOC where I put the statement, and I can continue within the code using pdb in an interactive way and inspect the code execution etc.
I would like to know if its possible to add more than one breakpoints for such python debugging such that I can do c in the interactive python debugger and hit the next breakpoint?
i.e. for instance
<python code>
import pdb; pdb.set_trace();
... interactive debugging....
...press c here....
<more python code>
...
....
<breakpoint>// How can we insert such a breakpoint?