2022-08-29 14:15:25 -07:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Main Process",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
|
|
|
"windows": {
|
|
|
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
|
|
|
},
|
2022-12-01 05:31:16 -08:00
|
|
|
"program": "${workspaceRoot}/dist/index.js",
|
2022-08-29 14:15:25 -07:00
|
|
|
"preLaunchTask": "Build sources"
|
|
|
|
},
|
|
|
|
/*
|
|
|
|
{
|
|
|
|
"name": "Debug Renderer Process",
|
|
|
|
"type": "chrome",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
|
|
|
"windows": {
|
|
|
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
|
|
|
},
|
|
|
|
"runtimeArgs": [
|
|
|
|
"${workspaceRoot}/src",
|
|
|
|
"--disable-dev-mode",
|
|
|
|
"--remote-debugging-port=9222"
|
|
|
|
],
|
|
|
|
"webRoot": "${workspaceRoot}/src/browser",
|
|
|
|
"sourceMaps": true,
|
|
|
|
"preLaunchTask": "Build sources"
|
|
|
|
},
|
|
|
|
*/
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2022-09-16 12:23:21 -07:00
|
|
|
"name": "E2E Tests",
|
|
|
|
"program": "${workspaceRoot}/node_modules/electron-mocha/bin/electron-mocha",
|
2022-08-29 14:15:25 -07:00
|
|
|
"args": [
|
|
|
|
"-r",
|
|
|
|
"@babel/register",
|
|
|
|
"--recursive",
|
|
|
|
"--timeout",
|
|
|
|
"999999",
|
|
|
|
"--colors",
|
2022-09-16 12:23:21 -07:00
|
|
|
"${workspaceRoot}/dist/tests/e2e_bundle.js"
|
2022-08-29 14:15:25 -07:00
|
|
|
],
|
|
|
|
"internalConsoleOptions": "openOnSessionStart",
|
2022-09-16 12:23:21 -07:00
|
|
|
"preLaunchTask": "prepare-e2e"
|
2022-11-16 09:16:12 -08:00
|
|
|
},
|
2023-01-30 07:16:10 -08:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "E2E Performance Tests",
|
|
|
|
"program": "${workspaceRoot}/node_modules/electron-mocha/bin/electron-mocha",
|
|
|
|
"args": [
|
|
|
|
"-r",
|
|
|
|
"@babel/register",
|
|
|
|
"--recursive",
|
|
|
|
"--timeout",
|
|
|
|
"999999",
|
|
|
|
"--colors",
|
|
|
|
"${workspaceRoot}/dist/tests/e2e_bundle.js"
|
|
|
|
],
|
|
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
|
|
"preLaunchTask": "prepare-e2e-performance",
|
|
|
|
},
|
2022-11-16 09:16:12 -08:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Unit Tests",
|
|
|
|
"program": "${workspaceRoot}/node_modules/jest/bin/jest",
|
|
|
|
"args": [],
|
|
|
|
"internalConsoleOptions": "openOnSessionStart",
|
2022-08-29 14:15:25 -07:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|