Open bruno-garcia opened 8 months ago
@thaystg do you know if there is a tooling support for this already?
@lewing Can you help with this one? I think it's more related to your side then debugger side.
cc @maraf
@bruno-garcia We generate and provide source maps for .NET runtime JS files. It's enabled by default for build and you can explicitly enable it for publish with MSBuild property <WasmEmitSourceMap>true</WasmEmitSourceMap>
.
Is there an existing issue for this?
Describe the bug
The error is caused due to the client browser not supporting WebAssembly, or the version they support not having all features. So not a Blazor bug.
I'd like to dig deeper into such errors, but all the JS shipped by Blazor is minified (which makes sense).
Is the sourcemap generated as a result of that minification available anywhere?
Expected Behavior
Be able to do one of:
This way I can either ship sourcemaps with my website or upload them to https://sentry.io
Steps To Reproduce
Shared (public) error: https://demo.sentry.io/share/issue/d24373d8406e48e2a3a3aa8725faf297/
Exceptions (if any)
No response
.NET Version
8.0.201
Anything else?
No response