-
Notifications
You must be signed in to change notification settings - Fork 42
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
Need external source map support #229
Comments
I see |
This might not be possible in spidermonkey External source map support seems limited to passing a URL through from JS::Compile to the script object, where in firefox it is extracted JS debugger, and parsed in userland (I think) A quick experiment, options.setSourceMapURL(u"file://./dcp-client-bundle.js.map"); also doesn't seem to do anything, I even looked with strace and tried a few variations. We may have to punt on this one. |
Describe your feature request here.
Evaluating web pack bundles like dcp-client makes for horrifyingly bad stack traces if we don't have external source map support.
This can be avoided in dcp-client by building a debug bundle which uses internal source maps, but that's not the common case with code found in the wild.
I believe I added an options argument to
pm.eval
. I suggest adding an option which is the path to the sourcemap file.Code example
No response
The text was updated successfully, but these errors were encountered: