-
Notifications
You must be signed in to change notification settings - Fork 413
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
Add an option to --keep-debug #1351
Comments
+1 |
While this is disabled by default in the [package.metadata.wasm-pack.profile.dev.wasm-bindgen]
dwarf-debug-info = true if you run it with |
Here is a small demo repo, for DWARF debugging: |
💡 Feature description
With rustwasm/wasm-bindgen#2389, DWARF symbols work in wasm-bindgen when
--keep-debug
is passed. However, this cannot be passed from thewasm-pack
interface (as far as I know)💻 Basic example
Currently one manually has to do
It would be better to add some
wasm-pack build --keep-debug
, or even make that the default for dev builds.The text was updated successfully, but these errors were encountered: