# Debugger won't prettify source

**URL:** <https://discourse.mozilla.org/t/debugger-wont-prettify-source/64188>\
**Category:** Developer Tools\
**Created:** [July 20, 2020, 9:36pm UTC](https://discourse.mozilla.org/t/debugger-wont-prettify-source/64188 "2020-07-20T21:36:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakob](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jakob](https://discourse.mozilla.org/u/jakob)\
**Post date:** [July 20, 2020, 9:36pm UTC](https://discourse.mozilla.org/t/debugger-wont-prettify-source/64188/1 "2020-07-20T21:36:19Z")

</div>

I’m doing some work reverse engineering website JavaScript, and I’ve found that Firefox (68.9.0esr) won’t prettify some sources. In most cases the “{}” button is available, but sometimes it isn’t and I have to use another tool to prettify the file. Is this possibly due to the file being large, or does Firefox think it wasn’t minified and is refusing to prettify it for that reason? Not being able to step through prettified source files in the debugger is making my job quite a bit harder.

---

<div class="post-metadata">

**Author:** ![digitarald](https://avatars.discourse-cdn.com/v4/letter/d/c77e96/32.png) [@digitarald](https://discourse.mozilla.org/u/digitarald)\
**Post date:** [July 20, 2020, 10:24pm UTC](https://discourse.mozilla.org/t/debugger-wont-prettify-source/64188/2 "2020-07-20T22:24:20Z")

</div>

Pretty-print detection as known bugs that we are having high in the backlog.

The workaround is right-clicking the source tab and “Pretty print source” there.

---

<div class="post-metadata">

**Author:** ![jakob](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jakob](https://discourse.mozilla.org/u/jakob)\
**Post date:** [July 20, 2020, 10:29pm UTC](https://discourse.mozilla.org/t/debugger-wont-prettify-source/64188/3 "2020-07-20T22:29:08Z")

</div>

Oh thanks, I missed that menu option. I also was able to get it to format using the “Jump to original location” menu option, although that was a bit finicky.
