5 ms·
> 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
by 1337shadow 5y ago
> 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.
- boatsie 5y agoThat runs the risk of forgetting to remove it.
- 1337shadow 5y agoIf 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