question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debug mode for Blazor WASM applications freezes on startup and stop doesn´t stop the debug process

See original GitHub issue

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:

  1. Turn on debug mode for Blazor WASM application
  2. See chrome freeze and unable to stop debug mode

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:23 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
viktor-kudriacommented, Jul 9, 2022

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.

6reactions
amis92commented, Feb 23, 2022

I’m hitting the same issue.

.NET SDK v6.0.102 (and 3.1.416 installed, not used) VSCode Info:

Version: 1.64.2 (system setup)
Commit: f80445acd5a3dadef24aa209168452a3d97cc326
Date: 2022-02-09T22:02:28.252Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19044

extensions:

  • ms-dotnettools.blazorwasm-companion v1.1.0
  • ms-dotnettools.csharp v1.24.0

Launching 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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio 2022 always opens new browser and stops this ...
The issue here is that when you F5 a Blazor application, the WASM debugger is attached to the browser instance. Because of this,...
Read more >
Debug ASP.NET Core Blazor WebAssembly - Microsoft Learn
Open the standalone Blazor WebAssembly app in VS Code. · Start debugging using the F5 keyboard shortcut or the menu command. · The...
Read more >
Blazor WASM Standalone Debug stopped working
I've been developing blazor wasm apps in vscode for the past few months without incident. All of a sudden, I can't debug via...
Read more >
Making ASP.NET Application Always Running
If your app won't load after these changes made, check your Windows Event Log by opening Control Panel → Administrative Tools → Event...
Read more >
Debug exceptions | JetBrains Rider Documentation
JetBrains Rider allows you to effectively debug application exceptions: you can explicitly tell the debugger to suspend the program ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found