The next generation of JavaScript debugging is upon us, and it’s name is FireBug. For the uninitiated, FireBug is an addon for Firefox that makes developing JavaScript easier. Besides a new JavaScript debugger with breakpoint support, it allows you to write debugging info to a console window, evaluate JavaScript in a command line (not unlike Eureka for IE), monitor the contents of XHR calls, inspect the DOM structure of a page, and determine the actual styles being applied to elements. This little gem will save you a lot of development time when used regularly. I highly recommend it.
Master JavaScript Promises
Free E-book - Understanding JavaScript Promises