Hacker News new | ask | show | jobs
by greglindahl 3484 days ago
I was laughing in a good way, it's always cool to see not only the "thing" but how it was debugged.

As for python, I debug it by adding print() statements. No debugger involved. If there's a way to insert debugger breakpoints in the source, I'm unaware of it.

1 comments

import pdb ; pdb.set_trace()
Pdb has saved my sanity so many times I have lost count.