News for hackers. Stuff that matters.
Re:Why don't schools teach debugging? (2014) by TheCoelacanth on Tuesday April 25, 2017 @12:46PM (#14195377)
With frontend JS, I usually find the friction of using a debugger lower than the friction of adding logging since I don't have to reload to add/remove it. You can even add a conditional breakpoint that logs and always returns false to capture the effect of adding a log statement.

I rarely use the step functionality, though, because it just takes too long. More frequently when I hit a breakpoint, I examine the current state, figure out the next place that I am interested in stopping and then add a breakpoint there before resuming.

There are no comments on this comment yet.