forked from microsoft/devicescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlaunch.json
More file actions
86 lines (86 loc) · 2.68 KB
/
Copy pathlaunch.json
File metadata and controls
86 lines (86 loc) · 2.68 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Attach by Process ID",
"processId": "${command:PickProcess}",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},
{
"type": "node",
"request": "launch",
"name": "DevS Compiler",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/cli/devicescript",
"args": [
"crun",
"devs/tmp/scratch.ts"
],
"outFiles": [
"${workspaceFolder}/compiler/built/**"
],
"resolveSourceMapLocations": [
"${workspaceFolder}/**",
"!**/node_modules/**"
],
"preLaunchTask": "npm: build-fast"
},
{
"name": "VSCode Extension",
"type": "extensionHost",
"request": "launch",
"env": {
"DISABLED_TSS_DEBUG": "5667",
"DISABLED_TSS_LOG": "-logToFile true -file ${workspaceFolder}/tmp/tss-log.txt -level verbose"
},
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/vscode",
"${workspaceFolder}/packages"
],
"outFiles": [
"${workspaceFolder}/vscode/built/**"
],
"preLaunchTask": "npm: build-fast",
"resolveSourceMapLocations": [
"${workspaceFolder}/**",
"!**/node_modules/**"
]
},
{
"name": "VSCode (no extension)",
"type": "extensionHost",
"request": "launch",
"args": [],
"outFiles": [
"${workspaceFolder}/vscode/built/**"
]
},
{
// See: https://github.com/microsoft/TypeScript/wiki/Debugging-Language-Service-in-VS-Code
"type": "node",
"request": "attach",
"name": "Attach to VS Code TS Server via Port",
"port": 5667,
"outFiles": [
"${workspaceFolder}/plugin/built/**"
]
},
{
"name": "CLI",
"program": "${workspaceFolder}/cli/built/devicescript-cli.cjs",
"cwd": "${workspaceFolder}/packages/sampleprj",
"request": "launch",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},
]
}