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

Use dynamic port for BrowserDebugHost process #41688

Merged
merged 1 commit into from
Sep 1, 2020
Merged

Conversation

captainsafia
Copy link
Member

The BrowserDebugHost currently launches at a fixed port (9300). This can cause issues if a user is:

(a) attempting to debug multiple Blazor WASM applications at the same time
(b) has another process running on port 9300 on their machine

Sidenote: I haven't been able to track down where the BrowserDebugHost is used in the testing infrastructure. There are some mocked responses which seem to assume that it runs on port 9300, although I'm not sure if the test infrastructure actually issues a request to that endpoint.

@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@ghost
Copy link

ghost commented Sep 1, 2020

Tagging subscribers to this area: @thaystg
See info in area-owners.md if you want to be subscribed.

@marek-safar marek-safar added the arch-wasm WebAssembly architecture label Sep 1, 2020
Copy link
Member

@thaystg thaystg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and the tests are running.

@thaystg
Copy link
Member

thaystg commented Sep 1, 2020

/backport to release/5.0

@github-actions
Copy link
Contributor

github-actions bot commented Sep 1, 2020

Started backporting to release/5.0: https://github.com/dotnet/runtime/actions/runs/235147789

@thaystg thaystg merged commit 012d3da into master Sep 1, 2020
@danmoseley danmoseley deleted the safia/dynamic-dbg-port branch September 2, 2020 00:11
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Debugger-mono
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants