High-Performance Development - C#, VB, SQL, ASP.NET

Slogan Text

This article describes how to enable JavaScript debugging for Visual Studio.

  1. Start Internet Explorer.
  2. Select Tools\Internet Options.
  3. Select Advanced tab.
  4. Find Browsing section, uncheck Disable Script Debugging (Internet Explorer), click OK.
  5. Exit IE.
  6. Add "debugger" keyword to your JavaScript code. See sample below.
  7. Execute your ASP.NET application in debug mode.

function ComputeSum(n, m)
{
    debugger
    Sum = n + m;
    return Sum;
}