我在网上浏览过多篇文章,我已经尝试过网上给出的所有可能的方法,但到目前为止我还没有任何工作。我重新安装了节点,vs代码,npm,但没有任何工作。 我正在使用 - > VSCode版本:1.27.2 操作系统版本:Windows 10 Pro 64位操作系统,基于x64的处理器 节点版本:v8.11.3 我的launch.json如下: -
{
// 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": [
{
"name": "Launch",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/dist/LeonardoGrader.js",
"stopOnEntry": false,
"args": [],
"cwd": "${workspaceRoot}",
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
},
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/dist/**/*.js"]
}
]
}
任何帮助将不胜感激。谢谢。
该输出意味着您的程序在没有停在调试器中的情况下运行完成。设置一些断点或将stopOnEntry
选项更改为true
以停止第一行代码上的程序。