3 ms·
Both Firefox and Chrome allow you to "blackbox" js files of your choice. https://developer.mozilla.org/en-US/docs/Tools/Debugger#Black_box_a_source https://dev
by numbnuts 13y ago
Both Firefox and Chrome allow you to "blackbox" js files of your choice.
https://developer.mozilla.org/en-US/docs/Tools/Debugger#Black_box_a_source https://developer.mozilla.org/en-US/docs/Tools/Debugger#Blac...
http://www.divshot.com/blog/tips-and-tricks/ignoring-library-code-while-debugging-in-chrome/ http://www.divshot.com/blog/tips-and-tricks/ignoring-library...
- oelmekki 13y agoThat's awesome, thanks. By any chance, do you also know of a way to exclude jQuery event wrappers from inspection in the "events" part ? Like in this screenshot : http://imgur.com/UaHTrth http://imgur.com/UaHTrth This feature is pretty useless due to the fact that libraries wrap event callbacks.
- bazzargh 13y agoThanks! In my defence, the FF feature only made it into release 19 days ago and the chrome one is still 'experimental'. But great to know this is now available.
- mattmanser 13y agoChrome's one is a dirty hack, though I admit it works. But ugh, seriously, regexes?
- paulirish 13y agoRegex is nice, so you can do something like ignore everything in bower_components\/.* or .*?\.min\.js. I'm not convinced you want to select each file you want to skip manually and one by one. That said, maybe there's a hybrid approach available. Our implementation in Chrome is definitely not final (and it's a little ugly ;) and we're collecting feedback before we iterate further.