Skip to content

Instantly share code, notes, and snippets.

@markfknight
Last active February 4, 2017 14:52
Show Gist options
  • Select an option

  • Save markfknight/ed3def2c334f8463a66e7de27c990b2b to your computer and use it in GitHub Desktop.

Select an option

Save markfknight/ed3def2c334f8463a66e7de27c990b2b to your computer and use it in GitHub Desktop.
VSCode launch.json for angular-cli debugging in Chrome
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Chrome against localhost",
"type": "chrome",
"request": "launch",
"url": "http://localhost:4200",
"webRoot": "${workspaceRoot}",
"userDataDir": "${workspaceRoot}/.vscode/chrome/",
"sourceMaps": true,
"runtimeArgs": [
"--disable-session-crashed-bubble",
"--disable-infobars"
]
},
{
"name": "Attach to Chrome",
"type": "chrome",
"request": "attach",
"port": 9222,
"webRoot": "${workspaceRoot}"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment