Ignore specific js files in chrome dev tools when debugging

Is it possible to ignore specific javascript files when debugging using breakpoints in Chrome developer tools? Let's say on this site http://todomvc.com/architecture-examples/angularjs/#/ I want to debug only todoCtrl.js and ignore everything else, like angular.js.

+6
source share
1 answer

Yes, you can use JS Blackboxing for this. The documentation for this feature will work soon, but for now, you can read the WIP document on how to do it here:

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

+3
source

Source: https://habr.com/ru/post/975906/


All Articles