-
Notifications
You must be signed in to change notification settings - Fork 3
/
launch.json
49 lines (49 loc) · 1.47 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// A launch configuration that compiles the extension and then opens it inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"args": [
"--disable-updates",
"--disable-workspace-trust",
"--profile-temp",
"--skip-release-notes",
"--skip-welcome",
"--extensionDevelopmentPath=${workspaceFolder}/packages/vscode",
"--folder-uri=${workspaceRoot}/sandbox/vite"
],
"outFiles": ["${workspaceFolder}/packages/vscode/dist/**/*.js"],
"env": {
"TSS_DEBUG": "9559"
}
},
// See: https://github.com/microsoft/TypeScript/wiki/Debugging-Language-Service-in-VS-Code
{
"name": "Attach to Server",
"type": "node",
"request": "attach",
"port": 9559,
"restart": true,
"outFiles": ["${workspaceFolder}/packages/typescript-server-plugin/dist/**/*.js"],
"skipFiles": ["<node_internals>/**"]
},
{
"command": "yarn test ${relativeFile}",
"name": "Run Vitest",
"request": "launch",
"type": "node-terminal"
}
],
"compounds": [
{
"name": "Launch Extension + TS Plugin",
"configurations": ["Run Extension", "Attach to Server"]
}
]
}