Skip to content

wasmbrowser template has wrong inspecturi #95391

Closed

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

Activity

  1. ghost added
    needs-area-label
    on Nov 29, 2023
  2. ghost added
    untriaged
    on Nov 29, 2023
  3. Robulane commented on Nov 29, 2023

    @Robulane
    Author
  4. changed the title [-]wasmbrowser template has wrong [/-] [+]wasmbrowser template has wrong inspecturi[/+] on Nov 29, 2023
  5. added
    arch-wasm
    os-browser
    on Nov 29, 2023
  6. removed
    untriaged
    needs-area-label
    on Nov 29, 2023
  7. added this to the 8.0.x milestone on Nov 29, 2023
  8. pavelsavara commented on Nov 29, 2023

    @pavelsavara
    Member
  9. self-assigned this
    on Nov 29, 2023
  10. ghost added
    in-pr
    on Nov 29, 2023
  11. ghost removed
    in-pr
    on Nov 29, 2023
  12. locked and limited conversation to collaborators on Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Debugger-monoos-browser

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions