脚本调试器无法连接到目标进程。 Adebugger已经附上了 [英] the script debugger failed to connect to the target process. Adebugger is already attached

查看:814
本文介绍了脚本调试器无法连接到目标进程。 Adebugger已经附上了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windonws 7 64位和VS2010

Windonws 7 64-bit and VS2010

在Windbows 7 64位和VS2010上的IE11的 F12 开发人员工具中,当我单击调试器工具图标或按 Ctrl + 3 打开工具,我无法调试我的java脚本文件。

In F12 developer tools for IE11 on Windonws 7 64-bit and VS2010, when I click the Debugger tool icon or press Ctrl + 3 to open the tool, I'm not able to debug my java-script files.

当我点击Debugger工具图标时,我会看到上面屏幕截图中的消息&我无法看到当前页面调用的javacsript文件,因此我无法调试我的javascript代码。

When I click the Debugger tool icon, i'm presented with the message in the screenshot above & I can't see the javacsript files my current page calls, so I'm unable to debug my javascript code.

任何人都知道为什么我会收到这条消息?我尝试了以下链接中提到的所有内容,但没有成功。 VS2010和IE10附加脚本调试器进程iexplore.exe失败

Any one knows why I could be getting this message? I have tried everything mentioned at the following link with out success. VS2010 and IE10 Attaching the Script debugger to process iexplore.exe failed

推荐答案

我在VS 2012中遇到了这个问题&赢7,VS2013和Win8.1:

I was encountering this problem with VS 2012 & Win 7 and also VS2013 and Win8.1:

困惑了半天,在网上查找东西,终于弄明白了。

Perplexed for half a day, looking up things online, finally figured it out myself.

在Visual Studio中了解它们之间的区别:F5 vs(Ctr + Shift + W)

Learn the difference between these in Visual Studio: F5 vs (Ctr+Shift+W)

F5将使用VS调试器,你将获得:

F5 will engage VS debugger and you will get the:

脚本调试器无法连接到目标进程。调试器已经附加

"The script debugger failed to connect to the target process. A debugger is already attached"

在IE中使用F12开发人员工具11或任何版本。

when using the F12 Developer Tool in I.E. 11 or whatever version.

但是,如果你使用V.S.命令:在浏览器中查看(Ctrl + Shift + W)这将运行脚本并允许I.E的脚本调试器(F12开发工具)参与并工作。

However, if you use the V.S. command: View in Browser(Ctrl+Shift+W) this will run the script and allow I.E's script debugger(F12 Dev Tool) to engage and work.

这篇关于脚本调试器无法连接到目标进程。 Adebugger已经附上了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆