We refer to the official debug VueJS configuration example: https://github.com/Microsoft/.
error screenshot
launch.json
is configured as follows
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "vuejs: chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}/src",
"breakOnLoad": true,
"sourceMaps": true,
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
}
}
]
}
I don"t know what happened. It"s VSCode"s own bug?. Or is there any configuration that is not set correctly?