42 lines
1.5 KiB
JSON
42 lines
1.5 KiB
JSON
// A launch configuration that compiles the extension and then opens it inside a new window
|
|
{
|
|
"version": "0.1.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": [ "${workspaceRoot}/**/out/**/*.js" ],
|
|
"preLaunchTask": "npm"
|
|
},
|
|
{
|
|
"name": "Launch Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": [ "${workspaceRoot}/client/out/test/**/*.js" ],
|
|
"preLaunchTask": "npm"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"name": "lsp-server-jest-tests",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/serverJS/node_modules/jest/bin/jest",
|
|
"args": [
|
|
"--runInBand",
|
|
"--detectOpenHandles"
|
|
],
|
|
"cwd": "${workspaceFolder}/serverJS",
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen"
|
|
}
|
|
]
|
|
}
|