Description
Cannot debug the debuggerProxy because it's using the same port (9300) as my sample Blazor application.
Reproduction Steps
Start debugging the debuggerProxy in VS by attaching a Blazor sample app to the debuggerProxy process:
- Copy files from
artefacts/bin/BrowserDebugHost/Debug of our main branch into Server/bin/Debug/net6.0/BlazorDebugProxy of a fresh dotnet 6 Blazor app.
- Open Blazor project in VS and start debugging.
- Open DebuggerProxy project in VS and start debugging.
Expected behavior
It should find any other port and start, so that we could attach Blazor project to it and debug.
Actual behavior
Exception:

because Blazor is running already on 9300.
Regression?
Yes, by c26475c.
Known Workarounds
Changing DevToolsProxyPort value manually.
Configuration
No response
Other information
No response
Description
Cannot debug the debuggerProxy because it's using the same port (9300) as my sample Blazor application.
Reproduction Steps
Start debugging the debuggerProxy in VS by attaching a Blazor sample app to the debuggerProxy process:
artefacts/bin/BrowserDebugHost/Debugof our main branch intoServer/bin/Debug/net6.0/BlazorDebugProxyof a fresh dotnet 6 Blazor app.Expected behavior
It should find any other port and start, so that we could attach Blazor project to it and debug.
Actual behavior
Exception:

because Blazor is running already on
9300.Regression?
Yes, by c26475c.
Known Workarounds
Changing DevToolsProxyPort value manually.
Configuration
No response
Other information
No response