vscode中的调试控制台错误: enter image description here
我的电子应用程序可以快速启动,我只是为vscode添加了launch.js文件:
{
"version": "0.2.0",
"script": {
"start": "chcp 65001 && node ."
},
"configurations": [
{
"name": "Debug Main Process",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
},
"args": [
"."
]
}
]
}
环境是: enter image description here 谢谢!