VScode starts the vue project by configuring launch.json. Half of running will report an error. The solution
configuration is as follows:
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "webpack-dev-server",
"runtimeExecutable": "npm",
"env": {
"NODE_ENV": "development",
},
"runtimeArgs": [
"run-script",
"start"
],
"port": 9229,
"outputCapture": "std"
}
]
}
run result:
is there a social solution?