dotnet / razor

Compiler and tooling experience for Razor ASP.NET Core apps in Visual Studio, Visual Studio for Mac, and VS Code.
https://asp.net
MIT License
505 stars 196 forks source link

Cannot debug blazor in vscode on linux #6323

Open lonix1 opened 2 years ago

lonix1 commented 2 years ago

Describe the bug: A clear and concise description of what the bug is.

Version used: VSCode 1.66.2 C# extension 1.24.4 Microsoft.AspNetCore.Razor.VSCode.BlazorWasmDebuggingExtension 1.1.0 Chromium 100 ubuntu 20

To reproduce:

TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md



Note `canberra-gtk-module` is installed, so that's irrelevant.

I did `chmod 777` for that `.profile` directory. Did not help.

**Expected behavior:**
Debugging to work

**Actual behavior:**
See error above

**Additional context:**
Could be relate to [this](https://stackoverflow.com/a/69037769).
lonix1 commented 2 years ago

UPDATE: I found a workaround is to use Edge instead, see my answer on StackOverflow for working config.