at present, the project is created based on vue-cli 3, and is compiled and uploaded to the development machine through npm run release
some of the scrpts in package.json are as follows:
"scripts": {
"release": "env MODE=release vue-cli-service build"
},
in the release process of the project, we relied on a npm package to achieve the remote release function. Now we want to debug the breakpoint of the npm package in VS Code and ask for advice on how to set it. Currently, the launch.json configured on the VS Code document is not successful. The current launch.json and debugging panels are as follows:
launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch via NPM",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script",
"release"
],
"port": 9229
}
]
}
start debugging back panel
ask if there is a problem with the configuration
Thank you guys ~