我如何发动每一次我打的开始调试按钮,一个新的浏览器窗口停止的Visual Studio? [英] How do I stop Visual Studio from launching a new browser window every single time I hit the Start Debugging button?

查看:92
本文介绍了我如何发动每一次我打的开始调试按钮,一个新的浏览器窗口停止的Visual Studio?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经有网站我调试打开一个窗口。我不需要VS每一个我需要调试时间推出另一个我。

I already have a window open with the web site I'm debugging. I don't need VS to launch another one for me every time I need to debug.

有没有办法制止这种行为?

Is there a way to stop this behavior?

推荐答案

打开启动项目的属性(项目 - > {}项目名属性... ,或者右击你的项目在解决方案资源管理器的和选择的属性的),然后导航到的网站的标签,并在开始行动的选择的不要打开一个页面。等待来自外部应用程序的。

Open your startup project's properties (Project->{ProjectName} Properties... from the main menu or right click your project in the Solution Explorer and choose Properties), then navigate to the Web tab and under Start Action choose Don't open a page. Wait for a request from an external application.

您仍可以使用任何浏览器(或小提琴手,等等)来访问运行的应用程序,但它不会自动打开浏览器窗口,它只会在后台启动,并等待任何请求。

You will still be able to use any browser (or Fiddler, whatever) to access the running application, but it won't open the browser window automatically, it'll just start in the background and wait for any requests.

这篇关于我如何发动每一次我打的开始调试按钮,一个新的浏览器窗口停止的Visual Studio?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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