Can I DevTools?

Share this post

Tips & Tricks #42

canidevtools.substack.com

Tips & Tricks #42

Can I ignore scripts while debugging?

Pankaj Parashar
Mar 18, 2023
Share
Share this post

Tips & Tricks #42

canidevtools.substack.com

Chrome, Edge, Opera

  1. In Sources > Open Page (left sidebar) > Right click on the script to be ignored and select "Add script to ignore list". Debugger will omit this script from the call stack and gray out in the file tree.

  2. To ignore multiple scripts using a pattern, open Settings (F1) > Ignore List > Enable Ignore Listing. Click the "Add Pattern" button and enter the regex pattern matching the scripts to be ignored.

  3. All the ignored scripts will be available under Custom exclusion rules section in Ignore List.

canidev.tools/ignore-scripts-debug/chrome
Share
Share this post

Tips & Tricks #42

canidevtools.substack.com
Previous
Next
Comments
Top
New

No posts

Ready for more?

© 2023 Pankaj Parashar
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing