Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Missing Pretty-print a minified file in Javascript Debugger

  • 5 Antworten
  • 1 hat dieses Problem
  • 10 Aufrufe
  • Letzte Antwort von Jiří

more options

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.

Ausgewählte Lösung

Try:

  • devtools.debugger.new-debugger-frontend = false
Diese Antwort im Kontext lesen 👍 1

Alle Antworten (5)

more options

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).

more options

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:)

more options

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.

Geändert am von Jiří

more options

Ausgewählte Lösung

Try:

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

That works, thanks!

The documentation is wrong then.