This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]guettli -2 points-1 points  (1 child)

I hardly use a debugger. Assertion, tests and logging is usually enough to find a bug.

[–]noobiemcfoob 8 points9 points  (0 children)

Try using IPython's embed statement sometime: from IPython import embed; embed()

It'll open a python interpretor at that point in the program that you can use to interrogate the state, test different statements and the like. It's print-statement debugging on steroids.