mirror of
https://github.com/keyboardio/Chrysalis.git
synced 2026-02-28 19:07:17 +01:00
59 lines
1.6 KiB
JSON
59 lines
1.6 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",
|
|
"compounds": [
|
|
{
|
|
"name": "Electron Webpack: Launch Main & Attach Renderer",
|
|
"configurations": [
|
|
"Electron Webpack: Launch Main",
|
|
"Electron Webpack: Attach Renderer"
|
|
]
|
|
}
|
|
],
|
|
"configurations": [
|
|
{
|
|
"name": "Electron Webpack: Attach Renderer",
|
|
"type": "chrome",
|
|
"request": "attach",
|
|
"port": 9223,
|
|
"webRoot": "${workspaceFolder}",
|
|
"sourceMaps": true,
|
|
"showAsyncStacks": true,
|
|
"timeout": 30000
|
|
},
|
|
// Configuration adapted from https://github.com/electron-userland/electron-webpack/issues/80.
|
|
{
|
|
"name": "Electron Webpack: Launch Main",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron-webpack",
|
|
"args": ["dev"],
|
|
"env": {
|
|
//"DEBUG":"*",
|
|
"ELECTRON_DISABLE_SECURITY_WARNINGS": "1"
|
|
},
|
|
"autoAttachChildProcesses": true,
|
|
"console": "integratedTerminal",
|
|
"outputCapture": "std",
|
|
"sourceMaps": true,
|
|
"smartStep": true,
|
|
"showAsyncStacks": true,
|
|
"timeout": 30000
|
|
},
|
|
{
|
|
"name": "Electron Webpack: Attach Main",
|
|
"cwd": "${workspaceFolder}",
|
|
"port": 9229,
|
|
"protocol": "inspector",
|
|
"request": "attach",
|
|
"showAsyncStacks": true,
|
|
"smartStep": true,
|
|
"sourceMaps": true,
|
|
"type": "node"
|
|
}
|
|
]
|
|
}
|