pdppp instead of pdb and ipdb for python debugging
pdbpp is a drop-in replacement for pdb
, and I like it more than ipdb
for some reason.
Installing it makes it the default one imported when importing pdb
(incl. by pytest, python’s breakpoint()
etc!)
Really nice tutorial: pdb++, a drop-in replacement for pdb (the Python debugger) | PythonRepo
Vanilla-pdb cheatcheet: Python Debugger Cheat Sheet - Kapeli
Features not present in pdb that I love:
ll
outputs the text of the current functionsticky
updates the function listing with each new line, giving a nice interactive visual feeling to the debugging process
pytest -s
works to make it play nice with the stdouts generated by pdbpp.
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus