How to debug angular page on vscode ?
molysama opened this issue · comments
molysama commented
I create launch.json like this:
{
"version": "0.2.0",
"configurations": [
{
"name": "Renderer",
"type": "node",
"request": "launch",
"runtimeExecutable": "npm",
"runtimeArgs": ["run-script", "serve"]
},
// {
// "name": "Renderer",
// "request": "launch",
// "type": "chrome",
// "url": "localhost:4200",
// "webRoot": "${workspaceFolder}"
// }
]
}
But it doesn't work.
npm run debug:electron
can only debug main program.
Deleted user commented
Hi @molysama , this does not seem to be a composer issue. It might be better to ask on a channel dedicated to VS Code and/or angular. Thank you.