调试时忽略chrome开发工具中的特定js文件 [英] ignore specific js files in chrome dev tools when debugging
问题描述
在Chrome开发者工具中使用断点进行调试时,是否可以忽略某些JavaScript文件?假设在此网站上 http://todomvc.com/architecture-examples/angularjs/#/我只想调试todoCtrl.js,而忽略其他所有类似angular.js的命令.
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.
推荐答案
是的,您可以使用JS Blackboxing来做到这一点.此功能的文档即将上线,但是现在您可以在此处阅读有关如何执行此操作的WIP文档:
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
这篇关于调试时忽略chrome开发工具中的特定js文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!