src/.vscode/launch.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": "Main Process",
"runtimeExecutable": "yarn",
"runtimeArgs": [
"dev:electron",
"--inspect-brk=9222"
],
"outputCapture": "std",
"port": 9222,
"skipFiles": [
"<node_internals>/**"
],
"sourceMaps": true,
"sourceMapPathOverrides": {
"electron/dist/*": "${webRoot}/electron/src/*"
},
"env": {
"BUILD_TARGET": "nsis",
"npm_package_displayName": "DreamTime"
}
},
{
"type":"pwa-chrome",
"request": "attach",
"name": "Renderer Process",
"port": 9223,
"webRoot": "${workspaceRoot}",
"sourceMaps": true,
"sourceMapPathOverrides": {
"webpack:///./*": "${webRoot}/*",
"webpack:///*": "${webRoot}/*"
},
}
],
"compounds": [
{
"name": "Launch",
"configurations": [
"Main Process",
"Renderer Process"
]
}
]
}