Is there a way to force Chrome's debugger to skip specific source files or functions when stepping through code?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
This is now available in Chrome Developer Tools as the "Framework blackboxing" feature: https://developer.chrome.com/devtools/docs/blackboxing
Updated link: https://developers.google.com/web/tools/chrome-devtools/javascript/reference#blackbox
回答2:
Chrome does not have this feature, nor does any other Javascript debugger that I am aware of.