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. in the Sources tab open a file and navigate to the line where you want to put a breakpoint.

  2. Right-click on the line gutter.

  3. Select "Add conditional breakpoint".

  4. Enter your condition in the dialog.

Read more:

Last updated