microsoft / vscode-arduino

Visual Studio Code extension for Arduino
Other
1.15k stars 199 forks source link

Board Manager not working in Docker container #937

Open mt1n opened 4 years ago

mt1n commented 4 years ago

I am running Visual Studio Code in a docker container. When I open the Board Manager I just see a connection failed message to localhost:. In localWebServer.js I changed fixed the port and configured docker to forward to this port. I also changed the ServerUrl to my server address. This trick seemed to work but this is not the best solution, I guess.

hellyzh commented 4 years ago

Mark a feature request to support Docker container. And Thanks @mt1n for the work-around.

eolder commented 4 years ago

Adding an optional configuration setting for the aforementioned server address and port would allow this extension to also be used in code-server. Currently using the board manager tool from this extension in code-server also results in the same error as @mt1n reported.