

Discover more from Can I DevTools?
Get weekly tips & tricks for your favorite browser devtools, created by @pankajparashar.
Continue reading
Chrome, Edge, Opera
In Sources, right click the line number and select "Add a conditional breakpoint..."
Input the conditional expression on which the execution should pause, and press
Enter
.
Firefox
In Debugger, right click the line number and select "Add condition"
Input the conditional expression on which the execution should pause, and press
Enter
.
Safari
In Sources, click the line number to Add Breakpoint > Right click on the line number and select "Edit Breakpoint...".
Input the conditional expression on which the execution should pause, and press
Enter
.