0

我已经在网上浏览了过多的文章,我已经尝试了网上给出的所有可能的方法,但到目前为止没有任何东西对我有用。我已经重新安装了 node、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"]
            }
    ]
}

任何帮助将不胜感激。在此先感谢。

4

1 回答 1

0

该输出意味着您的程序运行完成,而无需在调试器中停止。设置一些断点或更改stopOnEntry选项以true在第一行代码处停止程序。

于 2018-09-14T21:49:02.180 回答