microsoft / microsoft/vscode-livepreview
When used with DevContainers the Forwarded Address should be used
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 596
- Forks
- 119
- Avg merge
- 1d 4m
- Merged PRs (30d)
- 5
Description
Instead of the 127.0.0.1:3000 URL, when we are using a DevContainer with Docker, the Forwareded Address should be used (the one automatically mapped and shown in the PORTS tab) to open the preview (as the Workbench Browser runs in the host environment, not inside the container).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the preview flow in a Docker-based DevContainer, comparing the hard-coded 127.0.0.1:3000 URL with the automatically forwarded address shown in the PORTS tab. Done means the Workbench Browser, running on the host, opens the preview through the forwarded address when the workspace uses a DevContainer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, typescript, vscode
- Domain
- devops, devtools, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100