Repository: vscode
Issue: Annoying warnings in launch.json for configs that don't apply to current platform. 
Labels: bug,debug

Type: <b>Bug</b>

Original defect that was redirected here: https://github.com/microsoft/vscode-cpptools/issues/10425

I'm on Linux, and have 2 launch configs, one for linux one for windows... but I see errors in my project problems for things unrelated to my current platform:

![image](https://user-images.githubusercontent.com/648319/219119663-77f70d9d-b5cf-4ebd-94ad-503fc0bb8ba3.png)






VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T16:57:40.428Z)
OS version: Linux x64 5.14.0-162.6.1.el9_1.x86_64
Modes:
Sandboxed: No

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|12th Gen Intel(R) Core(TM) i7-12800H (20 x 2800)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_renderer: enabled_on<br>video_decode: disabled_software<br>video_encode: disabled_software<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off|
|Load (avg)|1, 1, 1|
|Memory (System)|62.22GB (28.55GB free)|
|Process Argv|. --crash-reporter-id f69d03cd-8d89-4a83-997d-f229f465ce97|
|Screen Reader|no|
|VM|0%|
|DESKTOP_SESSION|gnome|
|XDG_CURRENT_DESKTOP|GNOME|
|XDG_SESSION_DESKTOP|gnome|
|XDG_SESSION_TYPE|x11|
</details><details><summary>Extensions (25)</summary>

Extension|Author (truncated)|Version
---|---|---
better-toml|bun|0.3.2
vscode-eslint|dba|2.4.0
gitlens|eam|13.2.0
EditorConfig|Edi|0.16.4
better-cpp-syntax|jef|1.17.2
vscode-docker|ms-|1.23.3
vscode-kubernetes-tools|ms-|1.3.11
remote-containers|ms-|0.266.1
remote-ssh|ms-|0.96.0
remote-ssh-edit|ms-|0.84.0
remote-wsl|ms-|0.72.0
vscode-remote-extensionpack|ms-|0.23.0
atom-keybindings|ms-|3.2.0
cmake-tools|ms-|1.13.45
cpptools|ms-|1.14.3
cpptools-extension-pack|ms-|1.3.0
hexeditor|ms-|1.9.11
remote-explorer|ms-|0.2.0
linux-desktop-file|nic|0.0.21
jenkinsfile|rec|1.2.0
vscode-yaml|red|1.11.0
rust-analyzer|rus|0.3.1402
crates|ser|0.5.10
cmake|twx|0.0.17
intellicode-api-usage-examples|Vis|0.2.7

(1 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
vsccc:30610678
pyindex848:30577860
nodejswelcome1:30587005
3biah626:30602489
89544117:30613380
pythonsymbol12cf:30657549

```

</details>

<!-- generated by issue reporter -->