Skip to content

Blazor WASM debugging appears to work with Chrome, but not with Brave Browser #45714

Closed
@philipmorley

Description

@philipmorley

WASM debugging appears to work perfectly well with some browsers, for example Chrome or Edge, but not with Brave. Please can you investigate why?

  1. Install Brave, https://brave.com/?ref=dat003
  2. Open Visual Studio 2022 > Create a new project > Blazor WebAssembly App > Next > Next > Create > Framework .NET 7.0 > Create
  3. Go to BlazorApp1.Client/Pages/Counter.razor
  4. Put a brakepoint in the IncrementCount method.
  5. From the debug menu set the web browser to Google Chrome
  6. F5
  7. From the chrome browser window navigate to the Counter page, i.e. https://localhost:7224/counter
  8. Click me
  9. Observe that the Visual Studio debugger hits the brakepoint you setup from step 4.
  10. Stop debugging.
  11. From the debug menu set the web browser to Brave
  12. F5
  13. From the Brave browser window navigate to the Counter page, i.e. https://localhost:7224/counter
  14. Click me
  15. Observe that the Visual Studio debugger does not the brakepoint you setup from step 4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor Componentsfeature-blazor-debuggingThis issue is related to debugging of Blazor WebAssembly apps

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions