How to attach to IIS process (w3wp.exe) on Windows 10/IIS 10?

后端 未结 3 1019
攒了一身酷
攒了一身酷 2021-01-03 20:31

Using Visual Studio 2013 in Windows 8.1, I\'ve been used to debug applications hosted in IIS by attaching to the w3wp.exe process running the Application Pool.

After

相关标签:
3条回答
  • 2021-01-03 21:02

    I am using the windows 10 debugger to attatch to w3wp.exe just fine, are you sure you are ticking the show processes from all users tickbox in the bottom left? iis is ran against its own user.

    0 讨论(0)
  • 2021-01-03 21:07

    Open Visual Studio in Administrator Mode, then Debug -> attach to process -> tick the check box "Show processes from all user", select w3wp.exe. Administration mode is required for debugging the source code.

    0 讨论(0)
  • 2021-01-03 21:12

    For some reason all w3wp.exe processes had stopped. I just recycled the app pool and refreshed the browser window and w3wp.exe started and showed up in the Attach to Process dialog as normal.

    I don't know for sure if this is an IIS 10 related issue, but I never experienced this in earlier versions of IIS.

    0 讨论(0)
提交回复
热议问题