18

Is it possible to ignore certain javascript files when debugging with breakpoints in Chrome Developer Tools? Let's say on this website http://todomvc.com/architecture-examples/angularjs/#/ I want to debug only todoCtrl.js and ignore all other ones like angular.js.

3
  • 2
    I'm upvoting this as hard as I can Commented Jul 13, 2016 at 18:15
  • It seems like they removed it. You need to enter the scripts manually in the settings. It used to work by right clicking on the script and ignore it Commented Sep 13, 2022 at 10:36
  • developer.chrome.com/docs/devtools/settings/ignore-list Commented Mar 2, 2024 at 19:12

1 Answer 1

12

Yes, you can use JS Blackboxing to do this. The documentation for this feature will be going live soon, but for now you can read the WIP doc on how to do this here:

https://rawgit.com/jaredwilli/devtools-docs/blackboxing/docs/blackboxing.html

Sign up to request clarification or add additional context in comments.

3 Comments

Updated link for Blackboxing from developers.google.com (click the first link in this comment, not the second)
am I the only one who thinks whitelisting would make a lot more sense?
how to ignore event the third script emitted? currently web ignore script only for step into next, not for event .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.