Skip to content

Commit 34dfa94

Browse files
authored
Add back launch.json (#18591)
1 parent f8e7e27 commit 34dfa94

File tree

1 file changed

+103
-0
lines changed

1 file changed

+103
-0
lines changed

.vscode/launch.json

+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
// A launch configuration that compiles the extension and then opens it inside a new window
2+
{
3+
"version": "0.1.0",
4+
"configurations": [
5+
6+
{
7+
"type": "node",
8+
"request": "launch",
9+
"name": "Gulp ext test",
10+
"program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js",
11+
"args": [
12+
"ext:test"
13+
]
14+
},
15+
{
16+
"type": "node",
17+
"request": "launch",
18+
"name": "Gulp task",
19+
"program": "${workspaceRoot}/node_modules/gulp/bin/gulp.js",
20+
"args": [
21+
"package:offline"
22+
]
23+
},
24+
{
25+
"name": "Launch Extension",
26+
"type": "extensionHost",
27+
"request": "launch",
28+
"runtimeExecutable": "${execPath}",
29+
"args": [
30+
"--extensionDevelopmentPath=${workspaceRoot}"
31+
],
32+
"sourceMaps": true,
33+
"outFiles": [
34+
"${workspaceRoot}/out/src/**/*.js",
35+
],
36+
"rendererDebugOptions": {
37+
"pauseForSourceMap": true,
38+
"sourceMapRenames": true,
39+
"sourceMaps": true,
40+
"webRoot": "${workspaceRoot}/src/reactviews"
41+
},
42+
"debugWebWorkerHost": true,
43+
"sourceMapRenames": true,
44+
"pauseForSourceMap": true,
45+
"env": {
46+
// Uncomment this to use a specified version of STS, see
47+
// https://github.com/microsoft/vscode-mssql/blob/main/DEVELOPMENT.md#using-mssql_sqltoolsservice-environment-variable
48+
// for more details
49+
// "MSSQL_SQLTOOLSSERVICE": "<Path to STS>"
50+
}
51+
},
52+
{
53+
"name": "Launch Extension (With Other Extensions Disabled)",
54+
"type": "extensionHost",
55+
"request": "launch",
56+
"runtimeExecutable": "${execPath}",
57+
"args": [
58+
"--disable-extensions",
59+
"--extensionDevelopmentPath=${workspaceRoot}",
60+
"--skip-release-notes",
61+
"--skip-welcome"
62+
],
63+
"sourceMaps": true,
64+
"outFiles": [
65+
"${workspaceRoot}/out/src/**/*.js",
66+
],
67+
"env": {
68+
// Uncomment this to use a specified version of STS, see
69+
// https://github.com/microsoft/vscode-mssql/blob/main/DEVELOPMENT.md#using-mssql_sqltoolsservice-environment-variable
70+
// for more details
71+
// "MSSQL_SQLTOOLSSERVICE": "<Path to STS>"
72+
}
73+
},
74+
{
75+
"name": "Launch Tests",
76+
"type": "extensionHost",
77+
"request": "launch",
78+
"runtimeExecutable": "${execPath}",
79+
"args": [
80+
"--extensionDevelopmentPath=${workspaceRoot}",
81+
"--extensionTestsPath=${workspaceRoot}/out/test"
82+
],
83+
"sourceMaps": true,
84+
"outFiles": [
85+
"${workspaceRoot}/out/test/**/*,js"
86+
]
87+
},
88+
{
89+
"name": "Launch Code Coverage",
90+
"type": "extensionHost",
91+
"request": "launch",
92+
"runtimeExecutable": "${execPath}",
93+
"args": [
94+
"--extensionDevelopmentPath=${workspaceRoot}",
95+
"--extensionTestsPath=${workspaceRoot}/out/test"
96+
],
97+
"sourceMaps": true,
98+
"outFiles": [
99+
"${workspaceRoot}/out/test/**/*,js"
100+
]
101+
}
102+
]
103+
}

0 commit comments

Comments
 (0)