ObjToSchematic/.vscode/launch.json

31 lines
1.0 KiB
JSON
Raw Normal View History

2021-11-07 04:32:50 +08:00
{
// 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": [
{
"type": "node",
"request": "launch",
"name": "Debug Main Process",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"program": "${workspaceRoot}/index.js",
"runtimeArgs": [
".",
// this args for attaching render process
"--remote-debugging-port=9222"
],
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
},
"protocol": "legacy"
},
{
"type": "chrome",
"request": "attach",
"name": "Attach to Render Process",
"port": 9222,
"webRoot": "${workspaceRoot}/html"
}
]
}