开发者

Can I debug two local projects running on IIS (not Cassini)

开发者 https://www.devze.com 2022-12-21 04:07 出处:网络
I have a WCF service and a web application that both need to be hosted in local IIS virtual directories. I start up the WCF project and then when I try to debug the web app at the same time a popup te

I have a WCF service and a web application that both need to be hosted in local IIS virtual directories. I start up the WCF project and then when I try to debug the web app at the same time a popup tells me "Unable to start debugging on the web server. Unable to do an AutoAt开发者_Go百科tach." The same problem happens if I try to manually attach to aspnet_wp.exe after the WCF service has already started.


Have you tried firing them both off somehow (basically to get processes) then attaching the debugger to each manually?


Thanks Wyatt,

I created a solution with both projects. Then I set the Startup projects to have both projects start without debugging. Then after they start, I manually attach to the process and get debugging on both sides.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号