vscode: Debug mode for Blazor WASM applications freezes on startup and stop doesn´t stop the debug process
Does this issue occur when all extensions are disabled?: Yes - Tested on insiders build
- VS Code Version: 1.64/1.65.0
- OS Version: Windows 11 22000.493
Steps to Reproduce:
- Turn on debug mode for Blazor WASM application
- See chrome freeze and unable to stop debug mode
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 3
- Comments: 24 (4 by maintainers)
I’m hitting the same issue.
.NET SDK v6.0.102 (and 3.1.416 installed, not used) VSCode Info:
extensions:
ms-dotnettools.blazorwasm-companion
v1.1.0ms-dotnettools.csharp
v1.24.0Launching the debug session opens a browser on a blank page (both chrome and edge) and stays that way - not hanged, just idle; I can close it. However, VSCode doesn’t react to Stop Debug or Restart Debug commands.
I can launch the project with
dotnet run
just fine from the terminal, though.Any updates on this? I’m facing the same issue during Blazor dabugging. VS Code doesn’t respond to clicking on Stop button after debug starts.
I am also seeing a similar issue. However, I’m not experiencing a browser freeze. When I launch and debug a .NET 6 blazorwasm project in VS Code, the browser opens an “about:blank” window (I can close this window), but nothing happens when I try to click the Stop/Disconnect button in VS Code (the debugger seems to be frozen). Here’s how I reproduce the issue:
mkdir test-blazor
thencd test-blazor
, thendotnet new blazorwasm
)Here are my launch.json and tasks.json: launch.json
tasks.json
I’m seeing a similar thing. I’m able to close Edge, but the debugger doesn’t seem to respond to the stop command. I tested this on two different Windows computers with the same result. I was also able to test it on a Mac, which works as expected. All three systems have their settings and extensions synced as well, so the environments should be as similar as two platforms could be.
vscode-debugadapter-660bbcfd.json.gz .
That’s crazy - or I’m crazy.
I still have absolutely no idea how on Earth having old runtimes on the device hangs Blazor WASM debugging on newer SDKs and runtimes (app targets net6.0, global.json forces SDK v6.0.400).