Javascript Debugging...
....has always been a pain point for me. Nothing ever really seemed to work. I would put javascript alerts (alert('hello!);) in my code to get the value of variables and fields on a page.
Now, though, you can simply use a wonderful tool called Venkman, no relation to the Ghostbusters character. Developed by Mozilla for the Firefox browser - it is a full-featured javascript debugger.
You can do any of the following:
- Set Break Points
- Step Into
- Step Out
- Create profiles (for performance purposes)
- Set up watches on your variables
- And many more wonderful things
And the best part - while not integrated into Visual Studio - it is integrated directly into Firefox based browsers.
Try it out, I'm positive you won't be disappointed!