Skip to content

wasmbrowser template has wrong inspecturi #95391

@Robulane

Description

@Robulane

Description

The project created with wasmbrowser template cannot be debugged and Visual Studio throws an exception below after 20-30 seconds of running

image

Reproduction Steps

  1. Run "dotnet new wasmbrowser"
  2. Open the created project in VS
  3. Launch the default created profile

Expected behavior

Debug is possible with no error

Actual behavior

Error

image

Regression?

No response

Known Workarounds

Open "launchSettings.json" and replace the following line

"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/debug?browser={browserInspectUri}"

With the following line:

"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}"

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions