A Visual Studio Code extension to debug your Javascript code on targets that support the Chrome Debugging Protocol.
My launch.json is basic:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:4200",
"webRoot": "${workspaceFolder}"
}
]
}
"type": "chrome",
"request": "attach",
"port": 9222,
"name": "Attach to Chrome",
"url": "http://localhost:3001",
"webRoot": "${workspaceFolder}"
}
.scripts
Uncaught SyntaxError: Unexpected token '.'