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.
Asked
Active
Viewed 6,916 times
16
-
2I'm upvoting this *as hard as I can* – Jul 13 '16 at 18:15
1 Answers
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
jaredwilli
- 11,144
- 5
- 40
- 40
-
4[Updated link for Blackboxing](https://developers.google.com/web/tools/chrome-devtools/javascript/step-code#blackbox_third-party_code) from [developers](https://www.youtube.com/watch?v=KMU0tzLwhbE).google.com (click the first link in this comment, not the second) – ruffin Mar 21 '17 at 14:57
-
4am I the only one who thinks whitelisting would make a lot more sense? – Daniel Thompson May 01 '18 at 07:35