如何摆脱我想调试的附加到进程evrytime的时间 [英] How to get rid of Attach to Process evrytime i want to debug

查看:82
本文介绍了如何摆脱我想调试的附加到进程evrytime的时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有网络应用程序.每次我要调试时,我都必须执行Debug-Attach以进行处理.有人可以帮我摆脱这个问题吗?

我读了这篇文章: http://www. codetunnel.com/blog/post/45/how-to-debug-your-aspnet-projects-running-under-iis [

Hi,
I have web application. Evry time i want to debug this, i have to do Debug- Attach to process. Can someone help me get rid of this.

i read this :http://www.codetunnel.com/blog/post/45/how-to-debug-your-aspnet-projects-running-under-iis[^]
and did teh steps for web apps , but then i got cannot display web page error!

Please help.
Thanks

推荐答案

通常,您不必附加调试器.如果使用Visual Studio开发网站,则实际上可以在调试器下运行整个网站.在运行之前在Visual Studio中添加断点,并使用通常的Debug =>启动调试(F5)菜单项. Visual Studio将运行一个特殊的开发HTTP服务器;然后您将选择开始的网页.您甚至可以通过这种方式调试JavaScript.

—SA
Usually, you don''t have to attach a debugger. If you develop a Web site using Visual Studio, you can really run the whole site under the debugger. Add you breakpoints in Visual Studio before run and use the usual Debug => Start Debugging (F5) menu item. Visual Studio will run a special development HTTP server; and you will be given a choice of the Web page to start with. You can even debug JavaScript this way.

—SA


这篇关于如何摆脱我想调试的附加到进程evrytime的时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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