Kirk has an interesting blog post on debugging Javascript (from a PHP page no less) in Visual Studio 2008 here:

http://blogs.msdn.com/kaevans/archive/2007/08/10/javascript-debugging-in-visual-studio-2008.aspx