Attach Debugger to Iis Instance

Attach Debugger to IIS instance

In Visual Studio:

  1. Click "Debug" from the menu bar
  2. Click "Attach to Process"
  3. Check the "Show processes from all users" checkbox in the bottom left corner
  4. Select aspnet_wp.exe, w3p.exe, or w3wp.exe from the process list
  5. Click "Attach"

How do I attach the debugger to IIS instead of ASP.NET Development Server?

open project properties, go to the web tab and choose the option for IIS.

That actually starts an instance of the app in IIS and attaches the debugger. If you only wanted to attach to an existing IIS instance, choose attach to process from the debug menu.

Attach debugger to local IIS without administrator permission

Attach debugger to local IIS without administrator permission

I am afraid you can NOT do that without administrator permission.

According to the ASP.NET Debugging: System Requirements:

If you change the ASP.NET worker process to run under your own user
account, you do not have to be an Administrator on the server that is
running IIS

And Using IIS with Visual Studio:

Disadvantages of Using IIS as a Development Web Server Using IIS as a
development server can require more setup and configuration tasks in
order to work with Visual Studio than using IIS Express, including the
following:

  • You must run Visual Studio as an administrator in order to work with IIS.

Hope this helps.

Attach Visual Studio 2013 (or 2015) JS debugger to browser using IIS (not Express)

This MSDN article might be what you are looking for. It details the steps to attach a running IE instance to VS.



Related Topics



Leave a reply



Submit