Debug latest JavaScript in browser

IE:

Internet Options –> Advanced –> Browsing –> “Disable script debugging (Internet Explorer)” = OFF
Internet Options –> Advanced –> Browsing –> “Disable script debugging (Other)” = OFF
Internet Options –> Advanced –> Browsing –> “Show friendly HTTP error messages” = OFF
Internet Options –> General–> Browsing history –> Settings –> Check for newer versions of stored pages: == “Every time I visit the webpage”

Clear cache
Internet Options –> General–> Browsing history –> Delete… –>
Uncheck “Preserve Favorites website data”
Check “Temporary Internet files” “Cookies”
–> Delete

Dynamics CRM:
Set the DevErrors attribute to On in the Web.config file.

Firefox:

visit about:config, find the browser.cache.check_doc_frequency and change it to 1.

0 – Check for a new version of a page once per session (a session starts when the first application window opens and ends when the last application window closes).

1 – Check for a new version every time a page is loaded.

2 – Never check for a new version – always load the page from cache.

3- Check for a new version when the page is out of date. (Default)

http://www.imasuper.com/53/technology/firefox-caching-get-latest-page-every-time

JavaScript Getters and Setters

IE 9: Object literal syntax & Ojbect.defineProperty (any object)
Object.getOwnPropertyDescriptor() method to query getter and setter methods

IE 8: Object.defineProperty (DOM objects only)
Object.getOwnPropertyDescriptor() method to query getter and setter methods

IE 7: closure

Other New: Object literal syntax & Ojbect.defineProperty (any object)
In WebKit Object.defineProperty does not work with DOM objects.

Other Old: Object literal syntax & __defineGetter__() & __defineSetter__() & closure
__lookupGetter__() & __lookupSetter__()