Saturday, September 8, 2012

IE Developer Tools – Format JavaScript

I end up using the IE Developer Tools all time to debug JavaScript because of the convenience factor (F12 in Internet Explorer). But I learned something useful today when debugging some JavaScript. When stepping through the code I ended up in one of the compressed files that ships with CRM.
image
Not too easy to read is it?
Turns out I’ve been missing an easy fix all along.
image

image
The formatting sticks regardless of how many files you end up stepping through.