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

查看:154
本文介绍了如何运行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开发人员工具栏中就足够了。

推荐答案

请参阅的 Connect(连接)这篇文章和的其他文章它链接到。

See this article on Connect, and the other article it links to.

总之,这是一个解决办法。显然,因此,如果您打开Silverlight的调试VS不能调试器附加到两个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天全站免登陆