1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Add launch configuration for debugging main process

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>
This commit is contained in:
Alex Culliere 2021-03-04 19:25:16 +02:00
parent d2de665a8d
commit faee13d4de

16
.vscode/launch.json vendored
View File

@ -5,11 +5,23 @@
"version": "0.2.0",
"configurations": [
{
"name": "Main Process",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
},
"args" : ["."],
"outputCapture": "std"
},
{
"name": "Integration Tests",
"type": "node",
"request": "launch",
"name": "Integration tests",
"console": "externalTerminal",
"runtimeArgs": ["${workspaceRoot}/node_modules/.bin/jest", "--runInBand", "integration"],
}
},
]
}