Idk… I had problems in the past with weird bugs where the breakpoints do not match the right line although using sourcemaps and all that so sometimes you end up doing stuff like this.
Or if you want to know how many times something executes without well having to “continue” on each breakpoint or similar.
It blows my mind how often i see people using temp logs for debugging when breakpoints exist
When the issue is only seen after hours of runtime, logging is more practical.
Or when the overhead of the debugger causes the issue to never happen
Idk… I had problems in the past with weird bugs where the breakpoints do not match the right line although using sourcemaps and all that so sometimes you end up doing stuff like this. Or if you want to know how many times something executes without well having to “continue” on each breakpoint or similar.