Electron Visual Studio代码(VSCODE)无法再启动电子调试? VSCode版本:1.12.2 操作系统版本:Windows 10 电子版:1.7

Electron Visual Studio代码(VSCODE)无法再启动电子调试? VSCode版本:1.12.2 操作系统版本:Windows 10 电子版:1.7,electron,Electron,复制步骤: 我对electron和其他几个模块进行了NPM更新,electron的调试启动停止工作。但是,我仍然可以从命令提示符手动启动Electron,而且似乎VSCODE正在执行相同的命令 也就是说,这项工作: > d:\wwwroot\librarian2017\dashboard/node_modules/.bin/electron.cmd --debug-brk=24964 --nolazy main.js 但是当我运行launch.json时,我得到了下面的消息,VSCOD

复制步骤:

我对electron和其他几个模块进行了NPM更新,electron的调试启动停止工作。但是,我仍然可以从命令提示符手动启动Electron,而且似乎VSCODE正在执行相同的命令

也就是说,这项工作:

> d:\wwwroot\librarian2017\dashboard/node_modules/.bin/electron.cmd --debug-brk=24964 --nolazy main.js 
但是当我运行launch.json时,我得到了下面的消息,VSCODE窗口底部的蓝色状态栏会变成橙色一秒钟,然后又变回蓝色。没有迹象表明什么东西坠毁了。但是什么也没有出现

Debugging with legacy protocol because a runtime executable is set.
d:\wwwroot\librarian2017\dashboard/node_modules/.bin/electron.cmd --debug-brk=24964 --nolazy main.js 
Launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "DashBoard",
            "program": "${workspaceRoot}/main.js",
            "stopOnEntry": false,
            "args": [],
            "cwd": "${workspaceRoot}",
            "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd",
            "env": {},
            "sourceMaps": true
        }

可能是VSCODE中的错误。我把electron回滚到1.6.7,它又开始工作了。我提出了一个问题