|
41 | 41 | "request": "launch",
|
42 | 42 | "runtimeExecutable": "${execPath}",
|
43 | 43 | "args": [
|
44 |
| - "--disable-extensions", |
| 44 | + // Create a temp profile that has no extensions / user settings. |
| 45 | + // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
| 46 | + "--profile-temp", |
45 | 47 | "--extensionDevelopmentPath=${workspaceRoot}",
|
46 | 48 | "--extensionTestsPath=${workspaceRoot}/out/test/featureTests"
|
47 | 49 | ],
|
|
63 | 65 | "request": "launch",
|
64 | 66 | "runtimeExecutable": "${execPath}",
|
65 | 67 | "args": [
|
66 |
| - "--disable-extensions", |
| 68 | + // Create a temp profile that has no extensions / user settings. |
| 69 | + // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
| 70 | + "--profile-temp", |
67 | 71 | "${workspaceRoot}/test/integrationTests/testAssets/singleCsproj",
|
68 | 72 | "--extensionDevelopmentPath=${workspaceRoot}",
|
69 | 73 | "--extensionTestsPath=${workspaceRoot}/out/test/integrationTests"
|
|
78 | 82 | },
|
79 | 83 | "sourceMaps": true,
|
80 | 84 | "outFiles": [
|
81 |
| - "${workspaceRoot}/dist/*.js" |
| 85 | + "${workspaceRoot}/dist/*.js", |
| 86 | + "${workspaceRoot}/out/test/**/*.js" |
82 | 87 | ],
|
83 | 88 | "preLaunchTask": "buildDev"
|
84 | 89 | },
|
|
88 | 93 | "request": "launch",
|
89 | 94 | "runtimeExecutable": "${execPath}",
|
90 | 95 | "args": [
|
91 |
| - "--disable-extensions", |
| 96 | + // Create a temp profile that has no extensions / user settings. |
| 97 | + // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
| 98 | + "--profile-temp", |
92 | 99 | "${workspaceRoot}/test/integrationTests/testAssets/BasicRazorApp2_1",
|
93 | 100 | "--extensionDevelopmentPath=${workspaceRoot}",
|
94 | 101 | "--extensionTestsPath=${workspaceRoot}/out/test/integrationTests"
|
|
108 | 115 | "request": "launch",
|
109 | 116 | "runtimeExecutable": "${execPath}",
|
110 | 117 | "args": [
|
111 |
| - "--disable-extensions", |
| 118 | + // Create a temp profile that has no extensions / user settings. |
| 119 | + // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
| 120 | + "--profile-temp", |
112 | 121 | "${workspaceRoot}/test/integrationTests/testAssets/slnWithCsproj",
|
113 | 122 | "--extensionDevelopmentPath=${workspaceRoot}",
|
114 | 123 | "--extensionTestsPath=${workspaceRoot}/out/test/integrationTests"
|
|
124 | 133 | "stopOnEntry": false,
|
125 | 134 | "sourceMaps": true,
|
126 | 135 | "outFiles": [
|
127 |
| - "${workspaceRoot}/dist/*.js" |
| 136 | + "${workspaceRoot}/dist/*.js", |
| 137 | + "${workspaceRoot}/out/test/**/*.js" |
128 | 138 | ],
|
129 | 139 | "preLaunchTask": "buildDev"
|
130 | 140 | },
|
|
134 | 144 | "request": "launch",
|
135 | 145 | "runtimeExecutable": "${execPath}",
|
136 | 146 | "args": [
|
137 |
| - "--disable-extensions", |
| 147 | + // Create a temp profile that has no extensions / user settings. |
| 148 | + // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
| 149 | + "--profile-temp", |
138 | 150 | "${workspaceRoot}/test/integrationTests/testAssets/singleCsproj",
|
139 | 151 | "--extensionDevelopmentPath=${workspaceRoot}",
|
140 | 152 | "--extensionTestsPath=${workspaceRoot}/out/test/integrationTests"
|
|
150 | 162 | "stopOnEntry": false,
|
151 | 163 | "sourceMaps": true,
|
152 | 164 | "outFiles": [
|
153 |
| - "${workspaceRoot}/dist/*.js" |
| 165 | + "${workspaceRoot}/dist/*.js", |
| 166 | + "${workspaceRoot}/out/test/**/*.js" |
154 | 167 | ],
|
155 | 168 | "preLaunchTask": "buildDev"
|
156 | 169 | },
|
|
160 | 173 | "request": "launch",
|
161 | 174 | "runtimeExecutable": "${execPath}",
|
162 | 175 | "args": [
|
163 |
| - "--disable-extensions", |
| 176 | + // Create a temp profile that has no extensions / user settings. |
| 177 | + // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
| 178 | + "--profile-temp", |
164 | 179 | "${workspaceRoot}/test/integrationTests/testAssets/BasicRazorApp2_1",
|
165 | 180 | "--extensionDevelopmentPath=${workspaceRoot}",
|
166 | 181 | "--extensionTestsPath=${workspaceRoot}/out/test/integrationTests"
|
|
180 | 195 | "request": "launch",
|
181 | 196 | "runtimeExecutable": "${execPath}",
|
182 | 197 | "args": [
|
183 |
| - "--disable-extensions", |
| 198 | + // Create a temp profile that has no extensions / user settings. |
| 199 | + // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
| 200 | + "--profile-temp", |
184 | 201 | "${workspaceRoot}/test/integrationTests/testAssets/slnWithCsproj",
|
185 | 202 | "--extensionDevelopmentPath=${workspaceRoot}",
|
186 | 203 | "--extensionTestsPath=${workspaceRoot}/out/test/integrationTests"
|
|
195 | 212 | },
|
196 | 213 | "sourceMaps": true,
|
197 | 214 | "outFiles": [
|
198 |
| - "${workspaceRoot}/dist/*.js" |
| 215 | + "${workspaceRoot}/dist/*.js", |
| 216 | + "${workspaceRoot}/out/test/**/*.js" |
199 | 217 | ],
|
200 | 218 | "preLaunchTask": "buildDev"
|
201 | 219 | },
|
|
205 | 223 | "request": "launch",
|
206 | 224 | "runtimeExecutable": "${execPath}",
|
207 | 225 | "args": [
|
208 |
| - "--disable-extensions", |
| 226 | + // Create a temp profile that has no extensions / user settings. |
| 227 | + // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
| 228 | + "--profile-temp", |
209 | 229 | "${workspaceRoot}/test/integrationTests/testAssets/slnFilterWithCsproj",
|
210 | 230 | "--extensionDevelopmentPath=${workspaceRoot}",
|
211 | 231 | "--extensionTestsPath=${workspaceRoot}/out/test/integrationTests"
|
|
219 | 239 | },
|
220 | 240 | "sourceMaps": true,
|
221 | 241 | "outFiles": [
|
222 |
| - "${workspaceRoot}/dist/*.js" |
| 242 | + "${workspaceRoot}/dist/*.js", |
| 243 | + "${workspaceRoot}/out/test/**/*.js" |
223 | 244 | ],
|
224 | 245 | "preLaunchTask": "buildDev"
|
225 | 246 | },
|
|
229 | 250 | "request": "launch",
|
230 | 251 | "runtimeExecutable": "${execPath}",
|
231 | 252 | "args": [
|
232 |
| - "--disable-extensions", |
| 253 | + // Create a temp profile that has no extensions / user settings. |
| 254 | + // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
| 255 | + "--profile-temp", |
233 | 256 | "${workspaceRoot}/test/integrationTests/testAssets/slnWithGenerator",
|
234 | 257 | "--extensionDevelopmentPath=${workspaceRoot}",
|
235 | 258 | "--extensionTestsPath=${workspaceRoot}/out/test/integrationTests"
|
|
243 | 266 | },
|
244 | 267 | "sourceMaps": true,
|
245 | 268 | "outFiles": [
|
246 |
| - "${workspaceRoot}/dist/*.js" |
| 269 | + "${workspaceRoot}/dist/*.js", |
| 270 | + "${workspaceRoot}/out/test/**/*.js" |
247 | 271 | ],
|
248 | 272 | "preLaunchTask": "buildDev"
|
249 | 273 | },
|
|
0 commit comments