Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> you’ll have breakpoints set that aren’t necessarily needed at the moment, meaning you have to continue a bunch of times to get to the right spot.

Python: if something: breakpoint()

Js: if (something) debugger;

Much easier than breakpoint conditions in visual debuggers imho.



That runs the risk of forgetting to remove it.


If you don't read your commits before pushing or even merging them ... But I use `git add -p` and `git checkout -p` which works well against this




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

Search: