"Just My Code" in Chrome JavaScript debugger
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
For those who are debugging via the Chrome Debugging extension in VS Code, you can add to the skipfiles
section of your launch.json
. Here's mine:
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "type": "chrome", "request": "attach", "name": "Attach Chrome against localhost", "url": "http://localhost:4200/**", "webRoot": "${workspaceFolder}", "port": 9222, "skipFiles": [ "node_modules/**/*.js", "runtime.js", "polyfills.js", "vendor.js", "analytics.js" ] } ]}