“Just My Code” in Chrome JavaScript debugger

2019-04-21 10:02发布

问题:

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.