debugg published site in vs2008
I published my web application to D:\Web\MyWebApp, how can I debug the published code using VS2008 ? So the 开发者_JS百科output will be the published code in 'D:\Web\MyWebApp'. I need to debug the same ?
Host the published web site or web application in IIS. To do so, go to default web sites, create new virtual application, set physical path to 'D:\Web\MyWebApp'
Run the application by typing http://localhost/mywebapp/home.aspx
Keep running the site, go ot VS2008. Select "attach to process" from Debug menu.
You will see a "w3wp.exe", select it, click "Attach"
Create debug points on VS2008, you will get breaks on the points.
精彩评论