Debugging JavaScript in VS2010

In order to debug JavaScript using Visual Studio 2010, make sure that you have Internet Explorer set as your default browser, and that you have both the internet options “Disable script debugging (Internet Explorer)” and “Disable Script Debugging (Other)” unticked. Within VS2010 under the Tools->Options->Debugging->Just-In-Time entry make use that “script” is ticked.

Also, other sources have stated that “When Silverlight debugging is enabled, it disables ASP.NET debugging.”