Hacker News new | past | comments | ask | show | jobs | submit login

I’ve always admired pdb.set_trace() as a way of inserting a debugger breakpoint. I’m surprised it isn’t mentioned in the article.

You don’t need a different UI for debugging — you can just write the breakpoint into the code. Conditional breakpoints can be done with Python logic!

Marvelous!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: