How to insert a conditional breakpoint in JavaScript code in Chrome Browser Right click a line of code in the Javascript file under sources tab. select the edit Breakpoint option and write the conditional statement as shown in below picture