Skip to content

Instantly share code, notes, and snippets.

@rogerramosme
Created December 4, 2017 11:23
Show Gist options
  • Save rogerramosme/171329bb56f6dbf5789072c7e27fa0d2 to your computer and use it in GitHub Desktop.
Save rogerramosme/171329bb56f6dbf5789072c7e27fa0d2 to your computer and use it in GitHub Desktop.
VS Code chrome debug configurations
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome",
"url": "http://localhost:4200",
"webRoot": "${workspaceRoot}",
"sourceMaps": true,
"userDataDir": "${workspaceRoot}/.vscode/chrome",
"runtimeArgs": [
"--disable-session-crashed-bubble"
]
},
{
"name": "Attach Chrome",
"type": "chrome",
"request": "attach",
"url": "http://localhost:4200",
"port": 9222,
"webRoot": "${workspaceRoot}",
"sourceMaps": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment