3 ms·
That looks awesome! For debugging we support full Rust source maps in the browser (using DWARF). :D (This is something that wasm-bindgen doesn't support, for e
by janpaul123 5y ago
That looks awesome!
For debugging we support full Rust source maps in the browser (using DWARF). :D (This is something that wasm-bindgen doesn't support, for example!) See https://zaplib.com/docs/developer_environment.html#chrome-debugging https://zaplib.com/docs/developer_environment.html#chrome-de... for how to set it up.
Since we also support running the Rust code natively (even when doing rendering!) you can also use that and attach whatever native debugger you like. That same page also has info on how to set up native debugging with VSCode.
- chaosprint 5y agoreally cool. I will try to test it on the weekend.