Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ignore specific js files in chrome dev tools when debugging

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.

like image 659
Dmitry Avatar asked Sep 26 '14 21:09

Dmitry


People also ask

How do I ignore debugger in Chrome?

To totally ignore all breakpoints in Chrome, you must do as follows: Open your page in the Chrome browser. Press F12 or right-click on the page and select Inspect. In the Source panel, press Ctrl + F8 to deactivate all breakpoints.


1 Answers

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

like image 57
jaredwilli Avatar answered Oct 14 '22 08:10

jaredwilli