Skip to content

Use dynamic port for BrowserDebugHost process - #41688

Merged
thaystg merged 1 commit into
masterfrom
safia/dynamic-dbg-port
Sep 1, 2020
Merged

thaystg merged 1 commit into
masterfrom
safia/dynamic-dbg-port

Conversation

@captainsafia

Copy link
Copy Markdown

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
Copy Markdown
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

ghost commented Sep 1, 2020

Copy link
Copy Markdown

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

@thaystg thaystg left a comment

Copy link
Copy Markdown
Member

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

thaystg commented Sep 1, 2020

Copy link
Copy Markdown
Member

/backport to release/5.0

@github-actions

github-actions Bot commented Sep 1, 2020

Copy link
Copy Markdown
Contributor

@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