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)

79 Branch
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1361271

People

(Reporter: marvin, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:79.0) Gecko/20100101 Firefox/79.0

Steps to reproduce:

  1. Go to https://preactjs.com
  2. Open devtools and open any js file in the debugger panel
  3. 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

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Debugger
Product: Firefox → DevTools

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
Severity: -- → S3
Priority: -- → P3
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.

Attachment

General

Creator:
Created:
Updated:
Size: