Conditional breakpoints in Chrome

ℹ️ You can also pause code execution only when a certain condition was met.
When using breakpoints you can also pause code execution only when a certain condition was met.

How to set conditional breakpoints?

  1. 1.
    in the Sources tab open a file and navigate to the line where you want to put a breakpoint.
  2. 2.
    Right-click on the line gutter.
  3. 3.
    Select "Add conditional breakpoint".
  4. 4.
    Enter your condition in the dialog.
How to add conditional breakpoint

Read more: