Issue Type: Bug
Installed latest version of visual studio code, then installed latest version of Arduino extension. I plugged in the Arduino Uno and tried to select the serial port which it is connected to. However I can't open the menu to select a serial port. Neither the F1 terminal or the button in the blue bar works.
Extension version: 0.3.2
VS Code version: Code 1.49.0 (e790b931385d72cf5669fcefc51cdf65990efa5d, 2020-09-10T13:22:08.892Z)
OS version: Windows_NT x64 10.0.18363
System Info
|Item|Value|
|---|---|
|CPUs|AMD Ryzen 7 3700X 8-Core Processor (16 x 3600)|
|GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|15.95GB (10.68GB free)|
|Process Argv|--crash-reporter-id ccc4ce18-4fca-4b09-b7a1-1a8b9a2e35f3|
|Screen Reader|no|
|VM|0%|
Same issue here. At the moment the workaround is to manually change it in .vscode\arduino.json.
Same issue here as well.
Same issue here. Have to roll back VS Code one version but snap keeps upgrading it by the end of the day. Royal pain.
Same issue here. Real PITA, cannot open serial port at all. Reinstall of Arduino Extension doesn't help

Same issue here as well.
Same behavior seen here on Win10
VSCode 1.49.0
Extension 0.3.2
Clicking on
Same here
same issue with below set up
VSCode Version: 1.49.0
Visual Studio Code extension for Arduino: 0.3.2
OS: Windows_NT x64 10.0.17763
I have the same issue on mac
Damn I cant open the port selection either
Same issue here !!!!!
Same issue ma fellas
I'm having the same issue as well
Same issue here!
En este issues tambien se refleja el mismo problema:
https://github.com/microsoft/vscode-arduino/issues/1098
Is there someone looking into this bug?
Same Issue here
As a workaround:
{
"port":"COM4"
}
Related issues: #922 #1098 #1104 #1101 #1099
As a workaround:
- open the folder where your .ino file resides
- open the .vscode folder
- edit arduino.json
- change the port
e.g.{ "port":"COM4" }
What is this a workaround for? It's not solving the issue mentioned here; our JSON files already have the port entry in them.
As a workaround:
- open the folder where your .ino file resides
- open the .vscode folder
- edit arduino.json
- change the port
e.g.{ "port":"COM4" }What is this a workaround for? It's not solving the issue mentioned here; our JSON files already have the port entry in them.
This workaround lets you change the port without having to use the UI.
As a workaround:
- open the folder where your .ino file resides
- open the .vscode folder
- edit arduino.json
- change the port
e.g.{ "port":"COM4" }What is this a workaround for? It's not solving the issue mentioned here; our JSON files already have the port entry in them.
This workaround lets you change the port without having to use the UI.
Ah.. well not being able to change the port isn't as big a problem as not being able to connect to whichever one is selected. The Node.js version error comes up when you click the little plug to open the serial console window also.
@alandsidel Agreed - I'd not spotted the second issue in this thread. I was providing a workaround to the OP issue of not being able to select the serial port.
I update VSCode to 1.49.1; same problem
Same issue here and following...
Version: 1.49.1 (user setup)
Commit: 58bb7b2331731bf72587010e943852e13e6fd3cf
Date: 2020-09-16T23:27:51.792Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19041
Arduino Extension v0.3.2.
Changing the serial port in the arduino.json fixes uploading... But the Serial Monitor is also broken...
Same issue here, is someone looking into this?
Same issue here, is someone looking into this?
I believe @robotdad is looking into it (according to another related issue) - seems to be something to do with the latest Electron.
Downgrade to 1.48.x of VS to workaround it.
+1 @sukesh-ak
Downgrade. This is a solution. I fixed it by downgrading up to 1.48.2.
I hope you find this useful to fix your own situations.
Hi, sorry for the late reply. Yes the downgrade worked. Thanks for the great help!
Andrei.
I update VSCode to 1.50.1; same problem
@kasumiru yup, same here with 1.50.1, I cannot select the serial port..
same here
check the solution proposed here https://github.com/microsoft/vscode-arduino/issues/1113#issuecomment-714255377 if have a proper build environment on your machine.
Same here. Version 1.50 on Mac OS Catalina. Not resolved yet
Still the same here...
Same problem on Linux with vscode 1.50.1 and Arduino 0.3.2 extension.
Prerelease build for the serial port issue is here: https://github.com/microsoft/vscode-arduino/releases/tag/v0.3.3-rc
I plan to publish a release with this fix tomorrow, Oct 30.
0.3.3-rc tested. 100% ok!
Version: 1.50.1 (user setup)
Commit: d2e414d9e4239a252d1ab117bd7067f125afd80a
Date: 2020-10-13T15:06:15.712Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19042
@MohammedNoureldin that is interesting, from the error it appears it didn't like the "-rc" in the version info. I'm not sure why though. I have pushed the release now so you should be able to get that via the extension marketplace in Code now. Please raise a new issue if you still experience problems.
Resolved in release 0.3.3
@robotdad, sorry I have just removed my reply 1 second before your reply.
I confirm this works now after I updated the extension inside VS code! Thanks!
Thanks for letting me know @MohammedNoureldin
@robodad hello i just reinstalled vscode and all the extensions wanted to clean it.
Now i can not select a Serial Port although i installed your fix. It Always jumps between Arduino path and the Serial Port
when i manually set the port it does not work at all.
sry for my bad explaining im very bad at this
Tom
Most helpful comment
As a workaround:
e.g.