IE8 and VS2008: How do I disable script debugging?

后端 未结 3 1314
面向向阳花
面向向阳花 2021-02-15 00:28

IE8 is out and apparently it automatically turns on script (JavaScript) debugging whenever you launch your project in debugging mode. Does anyone know how to turn this ofF? I sc

3条回答
  •  情歌与酒
    2021-02-15 00:47

    When I detach the the iexplore.exe process as described in the "per session" solution above it also detaches the aspnet_wp.exe process and dumps me out of debug.

    The Options | Advanced | Disable Script Debugging" also does not work. Here's why: http://blogs.msdn.com/webdevtools/archive/2008/03/05/jscript-debugging-made-easy-with-ie8.aspx

    Apparently VS2008 turns it on for you, regardless of the Advanced setting in IE8.

    The only work around I have found for this is to start the IE8 session first (such as with "View in Browser" from the Solution Explorer) and then choose Debug | Attach to Process in VS2008 and attach to the aspnet_wp.exe process.

提交回复
热议问题