MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

Pretty-print a minified file

This page describes the JavaScript Debugger as it appears in Firefox 52 and above, in Firefox Nightly and Firefox Developer Edition.

To see what it's like in earlier versions of Firefox or in Firefox Beta and Release, see Debugger (before Firefox 52).

If you are getting this version of the Debugger and need to switch back to the old version, you can do so by visiting about:config and setting the "devtools.debugger.new-debugger-frontend" preference to false.

To prettify a minified file, click this icon:  in the source pane. The debugger will format the source and display it as a new file with a name like: "[original-name]:formatted".

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,