Skip to content

[wasm] Improve experience of debugging library tests #76721

@radical

Description

@radical

The current state leaves a lot to be desired.

  • Accurate documentation is missing on how to do this ILONA
  • dotnet run --project ../tests.csproj .. doesn't work as it seems to pick the wrong WasmAppHost, and AppBundle path. ILONA
  • When running the app with --debug on codespaces, the web server is started on localhost:5000, but chrome fails to connect to this - 403 . It does connect to 127.0.0.1:5000 though. Investigate, and fix.
  • If debugging is not enabled for the tests, it isn't indicated well, and can be really confusing for the user to not see any source files
  • When the runtime is built for Release, - check and warn about any missing pdbs
  • And check that this works correctly, automatically, for Debug config
  • Handle page refreshes, reconnects better
  • host: For the browser, if the console is not being forwarded, then the app should not try to connect to the web socket, and host shouldn't be listening on that either.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions