LSP-client-example
34 строки · 953.0 Байт
1// A launch configuration that compiles the extension and then opens it inside a new window
2{
3"version": "0.2.0",
4"configurations": [
5{
6"type": "extensionHost",
7"request": "launch",
8"name": "Launch Client",
9"runtimeExecutable": "${execPath}",
10"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
11"outFiles": [
12"${workspaceRoot}/client/out/**/*.js",
13"${workspaceRoot}/server/out/**/*.js"
14],
15"autoAttachChildProcesses": true,
16"preLaunchTask": {
17"type": "npm",
18"script": "watch"
19}
20},
21{
22"name": "Language Server E2E Test",
23"type": "extensionHost",
24"request": "launch",
25"runtimeExecutable": "${execPath}",
26"args": [
27"--extensionDevelopmentPath=${workspaceRoot}",
28"--extensionTestsPath=${workspaceRoot}/client/out/test/index",
29"${workspaceRoot}/client/testFixture"
30],
31"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"]
32}
33]
34}
35