Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the newly fixed debugging information #3698

Open
daxpedda opened this issue Nov 10, 2023 · 1 comment
Open

Use the newly fixed debugging information #3698

daxpedda opened this issue Nov 10, 2023 · 1 comment
Labels
docs Issues related to documentation enhancement

Comments

@daxpedda
Copy link
Collaborator

daxpedda commented Nov 10, 2023

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.
@hamza1311
Copy link
Collaborator

A page in the documentation about this information would be very helpful

@hamza1311 hamza1311 added the docs Issues related to documentation label Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Issues related to documentation enhancement
Projects
None yet
Development

No branches or pull requests

2 participants