vscode 调试 node node_modules 里面都在报错

node version 8.4.0
npm version 5.3.0

vscode 调试下面运行的是电脑的node环境还是 vscode 的 node 环境?

vscode 的node
图片描述

launch.json 的配置

    {

"version": "0.2.0",

"configurations": [

{

"type": "node",

"request": "launch",

"name": "Launch Program",

"program": "${workspaceRoot}\\bin\\www",

"cwd": "${workspaceRoot}"

},

{

"type": "node",

"request": "attach",

"name": "Attach to Process",

"port": 8000

}

]

}

图片描述

以上是 vscode 调试 node node_modules 里面都在报错 的全部内容, 来源链接: utcz.com/p/188849.html

回到顶部