Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Allow setting hostname for the extension when running code-server in docker environment and / or with tailscale (VSC-1490) #1311

Closed
csvke opened this issue Sep 14, 2024 · 3 comments
Labels
Feature / Enhancement Request Request for Feature/ Enhancement stale Stale PR or Issue

Comments

@csvke
Copy link

csvke commented Sep 14, 2024

Is your feature request related to a problem? Please describe.
When running ESP-IDF VS Code extension installed in a Code-Server instance on a host machine, clinking Configure ESP-IDF Extension returns a blank page when visit by a browser in a client.
Seems to me the extension is trying to load the page in localhost, which makes sense if the extension is installed locally on a machine, but it will not work if VS Code is accessed through a browser remotely with Code Server.
Using code-server --host x.x.x.x will not work in this case as that parameter aren't passed through to the code executed in individual VS Code extensions.

Describe the solution you'd like
I suspect if the ESP-IDF VS Code extension can define it's hostname instead of localhost, Configure ESP-IDF Extension can be loaded because Code-Server will automatically configure auto forwarding with proxy.
The goal is to have a host machine like a Raspberry Pi to connect to a ESP32 and start to program and debug with it via a web browser.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Tried to look into package.json but only OpenOCD Server can have a customised hostname.

@csvke csvke added the Feature / Enhancement Request Request for Feature/ Enhancement label Sep 14, 2024
@github-actions github-actions bot changed the title [Feature Request]: Allow setting hostname for the extension when running code-server in docker environment and / or with tailscale [Feature Request]: Allow setting hostname for the extension when running code-server in docker environment and / or with tailscale (VSC-1490) Sep 14, 2024
@brianignacio5
Copy link
Collaborator

When you open the ESP-IDF: Configure ESP-IDF extension, could you open the Command Palette (F1) and find the Webview: Open Webview Developer Tools and check if there is any error in the console output.

Copy link

github-actions bot commented Oct 4, 2024

This issue has been marked as stale since there are no activities, and this will be closed in 5 days if there are no further activities

@github-actions github-actions bot added the stale Stale PR or Issue label Oct 4, 2024
@brianignacio5
Copy link
Collaborator

Closing this issue for lack of response. Comment here if you need more assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature / Enhancement Request Request for Feature/ Enhancement stale Stale PR or Issue
Projects
None yet
Development

No branches or pull requests

2 participants