10 Comments
User's avatar
тна Return to thread
Patrick Cauthorn's avatar

If you like pdb making the jump to PyCharm will payoff huge.

Some advantages:

The breakpoints aren't part of the code

You can group them and toggle them off and on

When a break point hits you can jump up the stack which will take you to that code and also give you access to the context at that point

Conditional breakpoints

You have a console just like pdb and can execute code.

Expand full comment
Bite Code!'s avatar

Indeed, PyCharm (and VScode) have a very good Python support, and you can leverage that in their debugger, which is very useful.

I can't assume the reader have one particular editor or skill level though, so this article covers the need for a good chunk of the python user base. And once you know how to use pdb, it's easy to jump into PyCharm and use its excellent debugger.

Expand full comment
Patrick Cauthorn's avatar

Very true. The article is a good intro to pdb. Thanks

Expand full comment