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

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!

Leave a Reply

Your email address will not be published. Required fields are marked *