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
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:
lloutputs the text of the current function
stickyupdates 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.