Skip to content

Instantly share code, notes, and snippets.

@cppshane
Created February 18, 2022 01:19
Show Gist options
  • Save cppshane/752f563a1fae1faa31efbaa4ae1112fa to your computer and use it in GitHub Desktop.
Save cppshane/752f563a1fae1faa31efbaa4ae1112fa to your computer and use it in GitHub Desktop.
VS Code Angular Launch Configuration
{
"version": "0.2.0",
"configurations": [
{
"name": "Node Launch",
"command": "npm run start",
"request": "launch",
"type": "node-terminal",
"serverReadyAction":{
"action": "startDebugging",
"name": "Chrome Client",
"pattern":"listening on (.*)localhost:([0-9]+)"
}
},
{
"name": "Chrome Client",
"type": "pwa-chrome",
"request": "launch",
"url": "http://localhost:4200",
"sourceMaps": true,
"webRoot": "${workspaceRoot}",
"sourceMapPathOverrides": {
"webpack:///./*": "${workspaceRoot}/*"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment