Javascript Debug Output

One of the most annoying things about Javascript or any client side script is the lack of watches. By including this Javascript file in your page, you will be able to output the contents of variables to the screen. Download Debug.js for the javascript source, simply call debug(var);. to use. The first time debug(var); is used a container will be built (div) at the bottom of the screen. It’s similar to ASP.Net’s trace functionality but not as comprehensive.