Skip to content

Use dynamic port forwarding for the remote samples #3933

@egamma

Description

@egamma

The vscode-remote-try-* samples currently forward a port statically using the devcontainer.json config file. Dynamically forwarded ports derived from the console/debug output are easier to discover. A notification is shown and the user can open a browser from the notification. Therefore:

  • switch to dynamic port forwarding
  • keep the static port forwarding definition in a comment in the devcontainer.json
  • update the README accordingly.

FYI @Chuxel @alexr00

Metadata

Metadata

Assignees

Labels

containersIssue in vscode-remote containersfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions