Application Debugging is disabled in Visual Studio 2012 on Classic ASP Debugging

前端 未结 4 1027
情书的邮戳
情书的邮戳 2020-12-31 20:20

I\'d like to debug Classic ASP website at Visual Studio 2012 with IIS Express. Hence, I attached the iisexpress.exe in

4条回答
  •  渐次进展
    2020-12-31 20:57

    I like using Full-blown IIS on my dev machine as it's what my web servers run and have had problems with differences between Casini and IIS in the past..

    Anyway, I was unable to do it the way that @Kev suggested. I did some more playing around + reading and found that on the "Attach To Process" window, you need to specifically select "Script Code" in the "Attach To:" option.

    1) F9 to set breakpoints in code
    2) Ctrl-Alt-P to attach to process
    3) Next to "Attach To:" click on the "Select" button
    4) Select "Script Code"
    5) In my case, attach to "w3wp.exe"
    

    Enjoy debugging your code.

提交回复
热议问题