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

Add --keep-debug option to wasm-bindgen command #1388

Closed
wants to merge 1 commit into from

Conversation

TimoWilhelm
Copy link

Adds the --keep-debug option to pass it to the wasm-bindgen cli.

Fixes #1351

Make sure these boxes are checked! πŸ“¦βœ…

  • You have the latest version of rustfmt installed
$ rustup component add rustfmt
  • You ran cargo fmt on the code base before submitting
  • You reference which issue is being closed in the PR text

✨✨ πŸ˜„ Thanks so much for contributing to wasm-pack! πŸ˜„ ✨✨

@TimoWilhelm
Copy link
Author

I realized this can be enabled through a profile in the Cargo.toml Configuration by setting

[package.metadata.wasm-pack.profile.dev.wasm-bindgen]
dwarf-debug-info = true

@TimoWilhelm TimoWilhelm closed this May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an option to --keep-debug
1 participant