Javascript &引用;断点已设置但未绑定";电子问题
VSC:1.42.1Javascript &引用;断点已设置但未绑定";电子问题,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":
电子: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"
]
}
]
}