Closed
Bug 1650661
Opened 4 years ago
Closed 4 years ago
Can't pretty print sources with a source map
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1361271
People
(Reporter: marvin, Unassigned)
Details
Attachments
(1 file)
266.18 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:79.0) Gecko/20100101 Firefox/79.0
Steps to reproduce:
- Go to https://preactjs.com
- Open devtools and open any js file in the debugger panel
- Pretty-Print icon is missing
Actual results:
There is no pretty printing button available, even if there is a sourcemap.
Expected results:
There should be a button to pretty print the source like the documentation says it would be:
https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Pretty-print_a_minified_file
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Component: Untriaged → Debugger
Product: Firefox → DevTools
Comment 2•4 years ago
•
|
||
Thanks for filing. For architectural reasons, we can not pretty print an js file that also has a source map.
This is a technical and ux limitation of our designs. We'd love to make this easier.
Summary: Can't pretty print in debugger view → Can't pretty print sources with a source map
Updated•4 years ago
|
Severity: -- → S3
Priority: -- → P3
Updated•4 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•