Open Bug 992268 Opened 11 years ago Updated 1 year ago

Manually define sourcemap paths

Categories

(DevTools :: Debugger, enhancement, P5)

enhancement

Tracking

(Not tracked)

People

(Reporter: m-firefox, Unassigned)

References

(Blocks 1 open bug)

Details

It would be useful to have the ability to define manually the path to the source map associated to a minified file.

Main use case would be: in prod, I do not add the sourcemap comment in minified file so that users do not download the unminified file.
But when I have to debug, I have the map and the source file in my source dir, locally (or I know where to find them on the server).
Then, I'd love to select a minified file, and tell devtools that associated map is "here" (giving a file path, or an absolute / relative url)
Note that even if you include the sourcemap comment, users would not download the unminified file unless they open the debugger. But this is certainly a reasonable feature request.
Status: UNCONFIRMED → NEW
Component: Developer Tools → Developer Tools: Debugger
Ever confirmed: true
OS: Linux → All
Priority: -- → P3
Hardware: x86_64 → All
Summary: [ENH] manually define source map path → Manually define source map path
Version: 31 Branch → Trunk
Furthermore, note that you can include the source map comment and only serve the source map to your local ip block or whatever too. But yeah this is still a completely reasonable feature.
Summary: Manually define source map path → Manually define sourcemap paths
Reasonable but not a priority.
Priority: P3 → P5
Product: Firefox → DevTools
Type: defect → enhancement
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.