I am testing a simple todo app in Rust using the YEW framework. When I get an error, the browser console (Devmode) shows JavaScript or assembler (I tried both Chrome and Firefox). How can I get the Rust code? Do I have to setup source maps somewhere?
To achieve this you’d need WebAssembly to support sourcemaps. This is something that is being considered for future tooling, but I don’t think much progress has been made yet.
There is also an open issue for Rust sourcemap support
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With