Skip to content

Instantly share code, notes, and snippets.

@jorgeas80
Last active August 27, 2017 16:47
Show Gist options
  • Select an option

  • Save jorgeas80/8396b035a6589cc82bb9588a220ffc57 to your computer and use it in GitHub Desktop.

Select an option

Save jorgeas80/8396b035a6589cc82bb9588a220ffc57 to your computer and use it in GitHub Desktop.
launch.json file for debugging angular-cli applications in vscode
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Chrome against localhost, with sourcemaps",
"type": "chrome",
"request": "launch",
"url": "http://localhost:4200",
"sourceMaps": true,
"webRoot": "${workspaceRoot}",
"sourceMapPathOverrides": {
"webpack:///*": "/*"
}
//"userDataDir": "${workspaceRoot}/out/chrome"
},
{
"name": "Attach to Chrome, with sourcemaps",
"type": "chrome",
"request": "attach",
"port": 9222,
"sourceMaps": true,
"webRoot": "${workspaceRoot}",
"url": "http://localhost:4200",
"sourceMapPathOverrides": {
"webpack:///*": "/*"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment