Open Bug 1508278 Opened 6 years ago Updated 2 years ago

Debugger UI Errors should be sourcemapped

Categories

(DevTools :: Debugger, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: jlast, Unassigned)

References

(Blocks 2 open bugs)

Details

When an exception from the debugger UI is logged in the browser toolbox, a mochitest, or appears in the terminal during `./mach run`, the source locations are from the "built" code instead of the "original" source. 

It would be nice if ./mach build included source maps for when running locally or in nightly that could make it easier to debug the errors.


As a good next step, copy-modules should inline a source-map. Then we can try to have it create a separate file that is conditionally included in the dist.
Priority: -- → P3
Blocks: dbg-node-build
No longer blocks: node-dx
No longer blocks: dbg-node-build
Type: enhancement → task
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.