2020-11-10 09:12:58 +03:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
2020-12-11 04:11:05 +03:00
|
|
|
{
|
2022-07-18 12:24:31 +03:00
|
|
|
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
|
2020-12-11 04:11:05 +03:00
|
|
|
"name": "Launch VSCode Extension",
|
2022-07-18 12:24:31 +03:00
|
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
2021-05-11 02:11:28 +03:00
|
|
|
"sourceMaps": true,
|
|
|
|
"runtimeExecutable": "${execPath}",
|
2020-12-20 10:47:48 +03:00
|
|
|
"preLaunchTask": "gulp: compile",
|
2020-12-11 04:11:05 +03:00
|
|
|
"request": "launch",
|
2021-05-11 02:11:28 +03:00
|
|
|
"type": "pwa-extensionHost",
|
|
|
|
"trace": true
|
2020-12-11 04:11:05 +03:00
|
|
|
},
|
2022-07-18 12:24:31 +03:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "attach",
|
|
|
|
"name": "Attach to Server",
|
|
|
|
"port": 6009,
|
|
|
|
"restart": true,
|
|
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"]
|
|
|
|
},
|
2020-11-10 09:12:58 +03:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2021-05-24 19:37:18 +03:00
|
|
|
"name": "Mocha All Unit tests",
|
2020-11-10 09:12:58 +03:00
|
|
|
"program": "${workspaceFolder}/node_modules/mocha/bin/mocha",
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"args": [
|
2022-07-18 12:24:31 +03:00
|
|
|
"--require",
|
|
|
|
"ts-node/register",
|
|
|
|
"-u",
|
|
|
|
"bdd",
|
|
|
|
"--timeout",
|
|
|
|
"999999",
|
2021-05-24 19:37:18 +03:00
|
|
|
"src/client/test/unit/**/*.ts"
|
2020-11-10 09:12:58 +03:00
|
|
|
],
|
|
|
|
"internalConsoleOptions": "neverOpen"
|
|
|
|
},
|
2022-07-18 12:24:31 +03:00
|
|
|
{
|
|
|
|
"name": "Integration Tests",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
|
|
|
"--extensionTestsPath=${workspaceFolder}/out/debugger/test/unit/index"
|
|
|
|
],
|
|
|
|
"outFiles": ["${workspaceFolder}/out/debugger/test/**/*.js"]
|
|
|
|
},
|
2023-05-25 20:32:31 +03:00
|
|
|
{
|
|
|
|
"name": "Web Integration Tests",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
|
|
|
"--extensionTestsPath=${workspaceFolder}/out/web/client/test/integration/index"
|
|
|
|
],
|
|
|
|
"outFiles": ["${workspaceFolder}/out/web/client/test/**/*.js"]
|
|
|
|
},
|
2020-11-10 09:12:58 +03:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Mocha Current File",
|
|
|
|
"program": "${workspaceFolder}/node_modules/mocha/bin/mocha",
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"args": [
|
2022-07-18 12:24:31 +03:00
|
|
|
"--require",
|
|
|
|
"ts-node/register",
|
|
|
|
"-u",
|
|
|
|
"bdd",
|
|
|
|
"--timeout",
|
|
|
|
"999999",
|
2020-11-10 09:12:58 +03:00
|
|
|
"${file}"
|
|
|
|
],
|
|
|
|
"internalConsoleOptions": "neverOpen"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Launch current TypeScript src",
|
|
|
|
"program": "${file}",
|
|
|
|
"cwd": "${workspaceFolder}",
|
2022-07-18 12:24:31 +03:00
|
|
|
"outFiles": ["${workspaceFolder}/out/**/*.js"],
|
2020-11-10 09:12:58 +03:00
|
|
|
"preLaunchTask": "gulp: compile",
|
|
|
|
"sourceMaps": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Gulp task",
|
|
|
|
"program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js",
|
|
|
|
"cwd": "${workspaceFolder}",
|
2022-07-18 12:24:31 +03:00
|
|
|
"args": ["recompile"],
|
|
|
|
"skipFiles": ["<node_internals>/**"]
|
2022-06-22 13:07:40 +03:00
|
|
|
},
|
|
|
|
{
|
2022-07-18 12:24:31 +03:00
|
|
|
"name": "Run Web Extension in VS Code",
|
|
|
|
"type": "pwa-extensionHost",
|
|
|
|
"debugWebWorkerHost": true,
|
|
|
|
"request": "launch",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
|
|
|
"--extensionDevelopmentKind=web"
|
|
|
|
],
|
|
|
|
"outFiles": ["${workspaceFolder}/dist/web/**/*.js"],
|
|
|
|
"preLaunchTask": "gulp: compileWeb"
|
|
|
|
}
|
2021-03-02 08:39:40 +03:00
|
|
|
],
|
|
|
|
"compounds": [
|
2022-07-18 12:24:31 +03:00
|
|
|
{
|
|
|
|
"name": "Client + Server",
|
|
|
|
"configurations": ["Launch VSCode Extension", "Attach to Server"]
|
|
|
|
}
|
|
|
|
]
|
2020-11-10 09:12:58 +03:00
|
|
|
}
|