forked from mirror/ObjToSchematic
31 lines
1.0 KiB
JSON
31 lines
1.0 KiB
JSON
|
{
|
||
|
// 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"
|
||
|
}
|
||
|
]
|
||
|
}
|