IE8 and VS2008: How do I disable script debugging?

后端 未结 3 1672
误落风尘
误落风尘 2021-02-15 00:35

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:50

    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.

提交回复
热议问题