Python Debugging Tools

Comments recommend and discuss various Python debuggers like ipdb, pudb, pdb, and PySnooper, sharing tips for effective debugging and comparing to tools like pry in other languages.

πŸ“‰ Falling 0.4x Programming Languages
1,552
Comments
20
Years Active
5
Top Authors
#7892
Topic ID

Activity Over Time

2007
1
2008
6
2009
23
2010
28
2011
42
2012
72
2013
114
2014
52
2015
50
2016
78
2017
64
2018
85
2019
125
2020
122
2021
172
2022
121
2023
170
2024
117
2025
102
2026
8

Keywords

REPL US python.org PyCharm PDB jetbrains.com pdb.html IDE PyInjector mozilla.org debugger python debugging debug debuggers print stack inspect code gdb

Sample Comments

jofer β€’ Jan 5, 2015 β€’ View on HN

Have you tried ipdb?https://pypi.python.org/pypi/ipdb

drpancake β€’ Jun 2, 2020 β€’ View on HN

You might find this useful: https://github.com/gotcha/ipdb

cozzyd β€’ Jan 30, 2021 β€’ View on HN

this is great, python debug tooling seems to be getting a lot better recently.

walty8 β€’ Jun 2, 2020 β€’ View on HN

may be python pdb?https://docs.python.org/3/library/pdb.html

Buetol β€’ Jun 2, 2020 β€’ View on HN

This is buried in the comments but `pudb` is great debugger: https://pypi.org/project/pudb/- visual interface to set breakpoint- inline interpreter- inspect on exceptionIt's like using a modern debugger but inside your console. Can't recommend enough.

solarmist β€’ Jun 4, 2022 β€’ View on HN

You should check out ipdb too. That’s my recommendation.

forsaken β€’ Dec 7, 2009 β€’ View on HN

I recommend ipdb as well. It's IPython's PDB replacement. pip install ipdb

mbar84 β€’ Jun 2, 2020 β€’ View on HN

Are you aware of this: import pudb; pudb.set_trace()

emehrkay β€’ Mar 29, 2016 β€’ View on HN

I use a lot of pudb and a lot of print('\n\n~~~!!!VARIABLE', variable)

zahlman β€’ Oct 16, 2024 β€’ View on HN

Have you tried out the Python standard library debugger (pdb)?