eShopOnDapr
eShopOnDapr copied to clipboard
Guidelines to Debug BlazorClient
Hello Team,
We tried to run the solution and it loads perfectly from Visual Studio. We are able to debug most part of the solution except the BlazorClient.
Following is our observations while debugging BlazorClient, we cleaned and rebuilt the projects to ensure our code changes are reflected
- Can debug Program.cs
- Can not debug any razor components
- Created Partial Classes for razor components and tried to debug, did not work.
What we observed that the JavaScript debugger was never shown as one of the debugger?
Works in Program.cs
But did not work on razor files
and we did not see JavaScript debugger
We are on VS 17.1.0 Preview 3.0!
Is this still a problem with VS 2022?
@amolenk , I'm not sure if I'm missing something but I'm still unable to debug razor pages.
FYI. I'm on.
Placed debug in the catalog.razor
But it stays in "No symbols have been loaded for this document".
Where am I wrong? We can definitely debug blazor wasm projects
Hi, I've never tried this personally, when I wrote the Blazor client I was running/debugging it in VS Code directly and I had only the backend services running in Docker.
I'm actually not sure it's even possible. I found this (older, VS2019) issue which states that it's not supported: https://github.com/dotnet/aspnetcore/issues/22092