Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/427.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript &引用;断点已设置但未绑定";电子问题_Javascript_Visual Studio Code_Electron - Fatal编程技术网

Javascript &引用;断点已设置但未绑定";电子问题

Javascript &引用;断点已设置但未绑定";电子问题,javascript,visual-studio-code,electron,Javascript,Visual Studio Code,Electron,VSC:1.42.1 电子:8.0.3 macOS:10.14.5 节点:11.15.0 尝试调试Electron中的渲染器进程时,由于“断点已设置但未绑定”问题,不会触发任何断点 渲染器中的断点在VSC 5或6版本之前工作,然后在更新中中断。我已经完成了VSC github的“问题”页面,所有的例子都没有帮助。VSC调试不能对每个人都中断 我的项目结构如下所示,这是我正在使用的启动配置 { "version": "0.2.0", "configurations":

VSC:1.42.1
电子:8.0.3
macOS:10.14.5
节点:11.15.0

尝试调试
Electron
中的
渲染器
进程时,由于“断点已设置但未绑定”问题,不会触发任何断点

渲染器中的断点在VSC 5或6版本之前工作,然后在更新中中断。我已经完成了VSC github的“问题”页面,所有的例子都没有帮助。VSC调试不能对每个人都中断

我的项目结构如下所示,这是我正在使用的启动配置



{
      "version": "0.2.0",
      "configurations": [
          {
              "type": "node",
              "request": "launch",
              "name": "Electron: Main",
              "protocol": "inspector",
              "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
              "runtimeArgs": [
                  "--remote-debugging-port=9223",
                  "."
              ],
              "windows": {
                  "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
              }
          },
          {
              "name": "Electron: Renderer",
              "type": "chrome",
              "request": "attach",
              "port": 9223,
              "webRoot": "${workspaceFolder}",
              "timeout": 30000
          }
      ],
      "compounds": [
          {
              "name": "Electron: All",
              "configurations": [
                  "Electron: Main",
                  "Electron: Renderer"
              ]
          }
      ]
  }