-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Comments
A page in the documentation about this information would be very helpful |
for some reason wasm2map generates empty sourcemap file when i call it on .wasm generated by commands i use: it generates correct sourcemap for .wasm from target/wasm32-unknown-unknown/debug though (but its not usable with wasm-pack's .wasm) |
You have to use the How to do that with |
yeah, thank you, with
also, if you are building something outside of browser or nodejs (like me) where sourcemaps are not supported out of the box, here is how you can use sourcemap manually to get original source code line and column:
|
Just dropping some random thoughts before I forget them.
wasm-bindgen-test
instead ofconsole_error_panic_hook
(don't replace it entirely because we still need the panic message).wasm2map
.wasm-bindgen
, but I would argue this would be more the domain ofwasm-pack
and co.The text was updated successfully, but these errors were encountered: