Skip to content

Blazor debugger throws "DEBUGGING IS NOT ENABLED" with DebugType=embedded in .NET 10 #64494

@rogihee

Description

@rogihee

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Adding a setting <DebugType>embedded</DebugType> to a Blazor WebAssembly client project will cause an exception with this message in the console

Image

Setting it to "portable" solves the issue.

Expected Behavior

Not really sure if this is a regression from 9, this might not / should not have worked in the first place perhaps.

Steps To Reproduce

To reproduce:

  1. Create new Blazor Web App project with interactive WebAssembly
  2. Modify the Client project to include embedded
  3. Clean bin/obj dirs
  4. Debug and open the Counter page, observe the error

Exceptions (if any)

No response

.NET Version

10.0.100

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions