-
Notifications
You must be signed in to change notification settings - Fork 64
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 Source Maps support #6
Comments
Horcrux7
added a commit
that referenced
this issue
Mar 26, 2019
Horcrux7
added a commit
that referenced
this issue
Mar 30, 2019
Horcrux7
added a commit
that referenced
this issue
Mar 31, 2019
Horcrux7
added a commit
that referenced
this issue
Mar 31, 2019
Horcrux7
added a commit
that referenced
this issue
Apr 1, 2019
Horcrux7
added a commit
that referenced
this issue
Apr 1, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To debug a Wasm module it can be helpful to see the original source code.
There is a feature request in the spec WebAssembly/design#1051
For a source map there must be custom section "sourceMappingURL" with the URL to the map.
This URL can relative if the wasm is load with WebAssembly.compileStreaming/instantiateStreaming. In the other case it relative to the baseURL of the web page. The URL can also be a data URI. Then it is inlined.
Currently Firefox support already displaying the source map.
There is a sample: https://github.com/yurydelendik/wasm-source-map-emscripten
The text was updated successfully, but these errors were encountered: