PYTHON PROGRAMMING

Bugs in Python? Pdb to the Rescue!

Is the Pdb debugger worth learning and using?

Marcin Kozak
Towards Data Science
13 min readSep 21, 2023

--

Debugging helps you learn from your failures. Photo by Brett Jordan on Unsplash

Various tools can be used to debug Python code, from the simplest print() function, via static but more advanced icecream and its sibling ycecream, to the various interactive debuggers that IDEs offer. My choice, however, has always been the built-in pdb debugger, along…

--

--

A full professor, interdisciplinary researcher, data scientist, statistician, Python, R and Go developer, open-source contributor — and a devoted writer