figurations": [
{
"name": "Launch localhost with sourcemaps","type": "chrome","request": "launch","url": "http://localhost:9001/",//your application running with ng serve
"sourceMaps": true,"diagnosticLogging": true,"runtimeArgs": [
"--remote-debugging-port=9222" //Open in port 9222 (standard chrome debug port)
],"webroot": "${workspaceRoot}"
},{
"name": "Attach with sourcemaps","request": "attach","port": 9222,"sourceMaps": true,"webroot": "${workspaceRoot}"
}
]
}