Skip to content

Commit 16c2193

Browse files
committed
eng: avoid duplicate prelaunch task runs
Fixes microsoft#112078
1 parent eb15485 commit 16c2193

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.vscode/launch.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
{
204204
"type": "pwa-chrome",
205205
"request": "launch",
206-
"name": "Launch VS Code",
206+
"name": "Launch VS Code Internal",
207207
"windows": {
208208
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat"
209209
},
@@ -235,7 +235,9 @@
235235
"${workspaceFolder}/out/**/*.js"
236236
],
237237
"browserLaunchLocation": "workspace",
238-
"preLaunchTask": "Ensure Prelaunch Dependencies",
238+
"presentation": {
239+
"hidden": true,
240+
}
239241
},
240242
{
241243
"type": "node",
@@ -472,7 +474,7 @@
472474
"name": "VS Code",
473475
"stopAll": true,
474476
"configurations": [
475-
"Launch VS Code",
477+
"Launch VS Code Internal",
476478
"Attach to Main Process",
477479
"Attach to Extension Host",
478480
"Attach to Shared Process",
@@ -486,7 +488,7 @@
486488
{
487489
"name": "Search and Renderer processes",
488490
"configurations": [
489-
"Launch VS Code",
491+
"Launch VS Code Internal",
490492
"Attach to Search Process"
491493
],
492494
"presentation": {
@@ -497,7 +499,7 @@
497499
{
498500
"name": "Renderer and Extension Host processes",
499501
"configurations": [
500-
"Launch VS Code",
502+
"Launch VS Code Internal",
501503
"Attach to Extension Host"
502504
],
503505
"presentation": {
@@ -526,6 +528,14 @@
526528
"group": "1_vscode",
527529
"order": 2
528530
}
529-
}
531+
},
532+
{
533+
"name": "Launch VS Code",
534+
"stopAll": true,
535+
"configurations": [
536+
"Launch VS Code Internal",
537+
],
538+
"preLaunchTask": "Ensure Prelaunch Dependencies"
539+
},
530540
]
531541
}

0 commit comments

Comments
 (0)