Skip to content

Blazor shouldn't enable debugging when not debugging #87178

Description

@danroth27

With .NET 8 Preview 3, I’m seeing the following dotnet.generated.invalid node show up in the sources tab of the browser dev tools when running a new Blazor WebAssembly app:

image

I don't see any other errors in the browser dev console.

Repro steps:

  • Install .NET 8 Preview 3 SDK
  • dotnet new blazorwasm
  • dotnet run
  • Open the browser dev tools and look at the Source tab

Expected result:

  • No dotnet.generated.invalid node
  • Jiterpreter generated wasm modules are shown

Actual result:

  • A dotnet.generated.invalid node shows up
  • No generated wasm modules shown

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions