-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathlaunch.json
More file actions
128 lines (127 loc) · 4.96 KB
/
launch.json
File metadata and controls
128 lines (127 loc) · 4.96 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach by Process ID",
"processId": "${command:PickProcess}",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},
{
"name": "Pyright CLI",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/packages/pyright/index.js",
"preLaunchTask": "npm: build:cli:dev",
"args": [
"--verifytypes",
"pandas.core.reshape.concat",
],
"internalConsoleOptions": "openOnSessionStart",
"outFiles": [
"${workspaceRoot}/packages/pyright/dist/**/*.js"
]
},
{
"name": "Pyright tests",
"type": "node",
"request": "launch",
"args": [
"--runInBand"
],
"cwd": "${workspaceRoot}/packages/pyright-internal",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"program": "${workspaceFolder}/packages/pyright-internal/node_modules/jest/bin/jest"
},
{
"name": "Pyright extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/packages/vscode-pyright/dist/extension.js",
"preLaunchTask": "npm: build:extension:dev",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/packages/vscode-pyright",
// The published extension is named "ms-pyright.pyright", but in debug mode it's "ms-pyright.vscode-pyright"
// to allow the extension code to participate in the lerna monorepo. Make sure that the published extension
// isn't enabled, otherwise both are loaded and conflict.
"--disable-extension=ms-pyright.pyright"
],
"smartStep": true,
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/packages/vscode-pyright/dist/**/*.js"
]
},
{
"name": "Pyright extension (watch)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/packages/vscode-pyright/dist/extension.js",
"preLaunchTask": "Watch extension",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/packages/vscode-pyright",
// The published extension is named "ms-pyright.pyright", but in debug mode it's "ms-pyright.vscode-pyright"
// to allow the extension code to participate in the lerna monorepo. Make sure that the published extension
// isn't enabled, otherwise both are loaded and conflict.
"--disable-extension=ms-pyright.pyright"
],
"smartStep": true,
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/packages/vscode-pyright/dist/**/*.js"
]
},
{
"name": "Pyright attach server",
"type": "node",
"request": "attach",
"port": 6600,
"smartStep": true,
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/packages/vscode-pyright/dist/**/*.js"
]
},
{
"name": "Pyright jest current file",
"type": "node",
"request": "launch",
"args": [
"${fileBasenameNoExtension}",
"--runInBand",
],
"cwd": "${workspaceRoot}/packages/pyright-internal",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"program": "${workspaceFolder}/packages/pyright-internal/node_modules/jest/bin/jest"
},
{
"name": "Pyright jest selected test",
"type": "node",
"request": "launch",
"args": ["${fileBasenameNoExtension}", "--runInBand", "-t", "${selectedText}"],
"cwd": "${workspaceRoot}/packages/pyright-internal",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"program": "${workspaceFolder}/packages/pyright-internal/node_modules/jest/bin/jest"
},
{
"name": "Pyright fourslash current file",
"type": "node",
"request": "launch",
"args": [
"fourSlashRunner.test.ts",
"-t ${fileBasenameNoExtension}",
"--runInBand",
],
"cwd": "${workspaceRoot}/packages/pyright-internal",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"program": "${workspaceFolder}/packages/pyright-internal/node_modules/jest/bin/jest"
}
]
}