Developer tools: Pause code execution with a breakpoint only when a certain loop index is true

1 year ago
10

If you want to pause your code execution in Chrome developer tools only after a certain iteration number of a loop has been reached, simply right click on the line number and choose "add conditional breakpoint". Then just type in your condition and your done. Now the execution will only pause if the variable value is what you defined!

Loading comments...