📣 Help shape Firefox by joining our Test Days event on July 21–27 to test the Firefox Semantic History Search in Firefox Beta 142

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Missing Pretty-print a minified file in Javascript Debugger

  • 5 replies
  • 1 has this problem
  • 9 views
  • Last reply by Jiří

Hi, using Firefox 61 and cant find the "Pretty-print" button as stated here https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Pretty-print_a_minified_file

I miss the button quite a lot.

Hi, using Firefox 61 and cant find the "Pretty-print" button as stated here https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Pretty-print_a_minified_file I miss the button quite a lot.

Chosen solution

Try:

  • devtools.debugger.new-debugger-frontend = false
Read this answer in context 👍 1

All Replies (5)

A possible workaround is to do a copy and paste in the Scratchpad. You can make a button appear on the toolbar via the settings page (F1).

Thanks. Thats a neat tool I didnt know about.

However, the point is. The button used to be there in previous versions of Firefox. Now it is not (even it is present in documentation). I ask why. I ask to return the button. It is super useful!

I checked about:config to find out: devtools.debugger.new-debugger-frontend;true devtools.debugger.pretty-print-enabled;true devtools.debugger.auto-pretty-print;false

So i think, there is a bug. Is this right place to report a bug? Thanks:)

To make it even more weird, I realised there is the button when I open debugger on this page. Unfortunatelly, it doesnt work. Further, there is no button on other pages (eg. bitbucket.com).

And `devtools.debugger.auto-pretty-print;true` doesnt work neither.

Modified by Jiří

Chosen Solution

Try:

  • devtools.debugger.new-debugger-frontend = false

That works, thanks!

The documentation is wrong then.