Skip to content

Instantly share code, notes, and snippets.

@rmjoia
Created December 31, 2019 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rmjoia/56fde7136b46053f87cc8a1ede9d5095 to your computer and use it in GitHub Desktop.
Save rmjoia/56fde7136b46053f87cc8a1ede9d5095 to your computer and use it in GitHub Desktop.
ng test vs code debugger config
{
// 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": "launch",
"name": "Debug karma tests",
"url": "http://localhost:9876/debug.html",
"webRoot": "${workspaceFolder}",
"runtimeArgs": [
"--headless"
],
"sourceMaps": true,
"sourceMapPathOverrides": {
"webpack:/*": "${webRoot}/*",
"/./*": "${webRoot}/*",
"/src/*": "${webRoot}/*",
"/*": "*",
"/./~/*": "${webRoot}/node_modules/*"
},
"port": 9223
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment