Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable IE9 Javascript debugger when using Visual Studio 2010

Is there a way to disable javascript debugging when using Visual Studio with IE9?

like image 804
Cleiton Avatar asked Mar 21 '11 17:03

Cleiton


2 Answers

If you click the Tools (Alt+X) button, then click the Internet Options menu item.

In the Advanced Tab, and in the Browsing category:

Check Disable script debugging (Internet Explorer)

This should disable the Javascript debugger

like image 110
Adam Casey Avatar answered Sep 22 '22 02:09

Adam Casey


I tried the solution provided by Dotmister, but it didn't work on my Vista (x64), VS2010 and IE9.

However I tried the following and it worked (source: http://www.visualstudiotutor.com/2011/02/disable-stopjavascript-debugging-in-visual-studio/)

  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.

My debugger was very slow when I hit a breakpoint, partly because I had the Edit and Continue enabled (you can disable it in VS under Tools -> Options -> Debuggins -> Edit and Continue) and partly because I could not disable JavaScript debugging.

Now it is significantly faster.

like image 34
Andras Avatar answered Sep 21 '22 02:09

Andras