microsoft / microsoft/vscode

Problem with COM port selection

Open
#325,424 1 comment 0 reactions 1 assignee Claimed by @anthonykim1 View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Type: Bug

I have two devices plugged in as COM4 and COM3, until the recent update I have been working ok.

1. Using the bottom toolbar com port picker I can select com4 and upload to it.

2. I unplug com4, and select com3 on the picker.

3. When I run a platformio upload I get either:
a) and invalid id message
or
B) an upload fauils because COM4 !!! not found.

VS Code version: Code 1.128.0 (fc3def6774c76082adf699d366f31a557ce5573f, 2026-07-07T15:14:24-07:00)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info

|Item|Value|
|---|---|
|CPUs|11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 x 1382)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x9a49 [Intel(R) Iris(R) Xe Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=31.0.101.5333 *ACTIVE*
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8521
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|7.73GB (1.00GB free)|
|Process Argv|C:\\GitHub\\CommandStation-EX --crash-reporter-id 049b118c-c319-41b8-97db-2b59614ece78|
|Screen Reader|no|
|VM|0%|
Extensions (42)

Name|Identifier|Author|Version
---|---|---|---
Doxygen Runner|betwo.vscode-doxygen-runner|betwo|1.11.6
Markdown Preview Mermaid Support|bierner.markdown-mermaid|bierner|1.32.1
Doxygen Documentation Generator|cschlosser.doxdocgen|cschlosser|1.4.0
markdownlint|davidanson.vscode-markdownlint|DavidAnson|0.61.2
ESLint|dbaeumer.vscode-eslint|dbaeumer|3.0.24
Todo Tree|gruntfuggly.todo-tree|Gruntfuggly|0.0.226
SVG Editor|henoc.svgeditor|henoc|2.9.0
SVG|jock.svg|jock|1.5.4
CMake Language Support|josetr.cmake-language-support-vscode|josetr|0.0.9
reStructuredText|lextudio.restructuredtext|lextudio|190.4.12
Cortex-Debug|marus25.cortex-debug|marus25|1.12.1
debug-tracker-vscode|mcu-debug.debug-tracker-vscode|mcu-debug|0.0.15
MemoryView|mcu-debug.memory-view|mcu-debug|0.0.29
Peripheral Viewer|mcu-debug.peripheral-viewer|mcu-debug|1.6.1
RTOS Views|mcu-debug.rtos-views|mcu-debug|0.0.16
.NET Install Tool|ms-dotnettools.vscode-dotnet-runtime|ms-dotnettools|3.1.0
Python Debugger|ms-python.debugpy|ms-python|2026.6.0
Python|ms-python.python|ms-python|2026.4.0
Pylance|ms-python.vscode-pylance|ms-python|2026.2.1
Python Environments|ms-python.vscode-python-envs|ms-python|1.36.0
Dev Containers|ms-vscode-remote.remote-containers|ms-vscode-remote|0.463.0
Remote - SSH|ms-vscode-remote.remote-ssh|ms-vscode-remote|0.124.0
Remote - SSH: Editing Configuration Files|ms-vscode-remote.remote-ssh-edit|ms-vscode-remote|0.87.0
WSL|ms-vscode-remote.remote-wsl|ms-vscode-remote|0.104.3
CMake Tools|ms-vscode.cmake-tools|ms-vscode|1.23.52
C/C++ DevTools|ms-vscode.cpp-devtools|ms-vscode|0.5.13
C/C++|ms-vscode.cpptools|ms-vscode|1.32.2
C/C++ Extension Pack|ms-vscode.cpptools-extension-pack|ms-vscode|1.5.1
Hex Editor|ms-vscode.hexeditor|ms-vscode|1.11.1
PowerShell|ms-vscode.powershell|ms-vscode|2025.4.0
Remote Explorer|ms-vscode.remote-explorer|ms-vscode|0.5.0
Serial Monitor|ms-vscode.vscode-serial-monitor|ms-vscode|0.13.1
SFTP|natizyskunk.sftp|Natizyskunk|1.16.3
MicroPico|paulober.pico-w-go|paulober|4.3.4
PlatformIO IDE|platformio.platformio-ide|platformio|3.3.4
Raspberry Pi Pico|raspberry-pi.raspberry-pi-pico|raspberry-pi|0.21.0
Live Server|ritwickdey.liveserver|ritwickdey|5.7.10
Code Spell Checker|streetsidesoftware.code-spell-checker|streetsidesoftware|4.5.6
reStructuredText Syntax highlighting|trond-snekvik.simple-rst|trond-snekvik|1.5.4
CMake|twxs.cmake|twxs|0.0.17
Vue (Official)|vue.volar|Vue|3.3.7
vuetify-vscode|vuetifyjs.vuetify-vscode|vuetifyjs|0.2.0

A/B Experiments

```
vsliv368cf:30146710
pythonvspyt551:31249599
binariesv615:30325510
9b8hh234:30694863
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31538736
478i5457:31544283
cloudbuttont:31379625
3efgi100_wstrepl:31403338
55ia6109:31457054
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
c3h7c220:31478652
ge8j1254_inline_auto_hint_haiku:31490510
38bie571_auto:31478678
cp_cls_c_1081:31454833
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
c9b86496:31447327
capi_b_098a3278:31544978
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ddid_t:31478206
hmra_i5g22:31518061
ja75b849:31547460
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31543584
a1ije391_t:31540920
hgf2d445:31529595
8hfba999:31537718
prpt_srch:31518468
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_c_nes:31533503
d7b18187:31526828
nes-curr-leftover-1500:31538366
h561g132:31533256
chatquotatrajectorynudge-control:31548354
ihg5j128:31534457
jh7i3328:31546038
7g2b5551:31542111
nes-nc-nf-2k:31546582

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.