||Interactive Debugging in Python|
|Subject:||pdb module unsung hero|
My favorite function in pdb module is the set_trace(). It's a lot of time we spend just finding and getting to the exact point where we want to inspect. Just edit your code, add the line
If you are programming test first, put the command in your failing test and see whats failing there.
Hear us Roar