To debug a client-side Blazor app in a browser:
- Close the all instances in Chrome.
- Run the Blazor app in Chrome (version 70 or later).
- Open Win + R and run following command.
"%programfiles(x86)%\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 http://localhost:52902/
- Now the Blazor app is running.
- Then hit Shift+Alt+D on Windows or Linux and Shift+Cmd+D on macOS.
Reference link:
https://docs.microsoft.com/en-us/aspnet/core/blazor/debug?view=aspnetcore-3.1
Share with