Help us make DevTools Tips better! Fill out this survey to tell us more about your DevTools habits and frustrations.
Disable abusive debugger statements that prevent inspecting websites
Some websites make it impossible to use DevTools by adding
debugger statements in their code.
To disable the abusive
- Open the Sources tool (or Debugger tool in Firefox).
- Right-click the line number gutter, right next to the
- Either click Never pause here.
- Or create a new Conditional breakpoint, and enter
falseas the condition for this breakpoint.
- Refresh the page.
Now, everytime this line of code is executed, the nasty
debugger statement will be ignored and the page will run normally!
Thank you François for the tweet and Pankaj Parashar for the tip about using the Never pause here option.