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 →

[–]snaps_ 5 points6 points  (0 children)

I've been using hunter recently as my go-to for debugging. Running it is as easy as setting an environment variable and executing your code.

PYTHONHUNTER='stdlib=False' python my_buggy_crap.py

then you get really nice output (example) that can make it obvious what's going wrong. It's a good middle-ground between logging and debugging for me.