Disable JavaScript Debugging in Visual Studio

There are three methods for turning off Javascript debugging in Visual Studio (which is enabled by default).

Method 1

  1. Start the application without debugging it (press Ctrl + F5)
  2. Attach the Visual Studio Debugger to WebDev.WebServer.exe process

Method 2

  1. Right click the app to debug and select Properties
  2. Hit the Web tab on the left and select “Don’t open page” on the left panel
  3. Start Debugging the app (press F5)
  4. Open your browser and then navigate to the URL.

Method 3

  1. Open the application Property page and select the Web tab
  2. Select “Start External Program” and set the path to iexplorer.exe
  3. Enter the URL in the Command line argument option
  4. Hit F5 to commence debugging.

For more on how to disable  JavaScript debugging, please see http://blogs.msdn.com/greggm/archive/2009/04/06/disabling-script-debugging-in-vs-2008-ie8.aspx


Array

No comments yet... Be the first to leave a reply!