Skip to content

Use the newly fixed debugging informationΒ #3698

Open
@daxpedda

Description

@daxpedda

Just dropping some random thoughts before I forget them.

  • Using it in wasm-bindgen-test instead of console_error_panic_hook (don't replace it entirely because we still need the panic message).
  • Add a new documentation page noting how to actually deploy it.
    • Generate sourcemaps, e.g. using wasm2map.
    • Strip DWARF in case of sourcemaps.
    • Notes on browser support and how to serve source files if not bundled.
  • Maybe think about adding an option to generate source maps or split debug info directly in wasm-bindgen, but I would argue this would be more the domain of wasm-pack and co.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsIssues related to documentationenhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions