46 lines
1.4 KiB
JSON
46 lines
1.4 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": [
|
|
{
|
|
"name": "Renderer",
|
|
"type": "chrome",
|
|
"request": "attach",
|
|
"port": 9876,
|
|
"url": "http://localhost:4200",
|
|
"sourceMaps": true,
|
|
"timeout": 10000,
|
|
"trace": "verbose",
|
|
"sourceMapPathOverrides": {
|
|
"webpack:///./*": "${workspaceFolder}/*"
|
|
},
|
|
"preLaunchTask": "Build.Renderer"
|
|
},
|
|
{
|
|
"name": "Main",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"protocol": "inspector",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
|
|
"trace": "verbose",
|
|
"runtimeArgs": [
|
|
"--serve",
|
|
".",
|
|
"--remote-debugging-port=9876"
|
|
],
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
|
|
},
|
|
"preLaunchTask": "Build.Main"
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Application Debug",
|
|
"configurations": [ "Renderer", "Main" ]
|
|
}
|
|
]
|
|
} |