Open
Bug 992268
Opened 11 years ago
Updated 1 year ago
Manually define sourcemap paths
Categories
(DevTools :: Debugger, enhancement, P5)
DevTools
Debugger
Tracking
(Not tracked)
NEW
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)
Comment 1•11 years ago
|
||
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.
Blocks: minotaur-kanban
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
Comment 2•11 years ago
|
||
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.
Updated•10 years ago
|
Blocks: dbg-sourcemap
Updated•10 years ago
|
Summary: Manually define source map path → Manually define sourcemap paths
Comment 4•6 years ago
|
||
Apparently Chrome can do this. See https://stackoverflow.com/questions/49279412/what-is-the-equivalent-of-chromes-add-source-map-in-firefox
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Type: defect → enhancement
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•