如何在运行Asp.Net网站项目时在Visual Studio 2010中禁用脚本调试? [英] How to disable script debugging in Visual Studio 2010 when running Asp.Net website project?

查看:137
本文介绍了如何在运行Asp.Net网站项目时在Visual Studio 2010中禁用脚本调试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2010中创建一个网站。我想使用Visual Studio进行C#调试,而不用作JavaScript调试器。 有没有办法禁用Asp.Net网站项目的脚本调试?我通过在Visual Studio中点击F5来运行我的项目。

I'm creating a website in Visual Studio 2010. I would like to use Visual Studio for C# debugging, without using it as JavaScript debugger. Is there a way to disable script debugging for Asp.Net website projects? I run my projects by hitting F5 in my Visual Studio.

我注意到,当我手动附加调试器时,我可以指定要调试的东西的类型。)

(I've noticed that when I attach the debugger manually, I can specify the type of stuff I would like to debug.)

注意:我想调试JavaScript,但不适用于Visual Studio 2010.开发工具栏就足够了。

推荐答案

请参阅,以及其他文章链接到。

总而言之,这是一个解决方法。显然,VS不能将调试器附加到Silverlight和脚本,所以如果打开Silverlight调试,它必须禁用脚本调试!要访问这些设置,请转到网站属性页中的开始选项

To summarise, it's a workaround. Apparently VS can't attach the debugger to both Silverlight and script so if you turn on Silverlight debugging, it has to disable script debugging! To access these settings, go to Start Options which is within the web site Property Pages.

这篇关于如何在运行Asp.Net网站项目时在Visual Studio 2010中禁用脚本调试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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