Attach Debugger to IIS instance
In Visual Studio:
- Click "Debug" from the menu bar
- Click "Attach to Process"
- Check the "Show processes from all users" checkbox in the bottom left corner
- Select aspnet_wp.exe, w3p.exe, or w3wp.exe from the process list
- 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
Publish .Net Core App as Portable Executable
How Can Synchronizationcontext.Current of the Main Thread Become Null in a Windows Forms Application
Deploying ASP.NET Web Forms Project to Fedora 24
Getting Db Connection Through Singleton Class
Benefits of Use Parameters Instead of Concatenation
How to Prevent Xss (Cross Site Scripting) Whilst Allowing HTML Input
Is There a Tool for Finding Unreferenced Functions (Dead, Obsolete Code) in a C# App
Sending a Value from Server to Client with Sockets
Non Client Painting on Aero Glass Window
How to Display a Loading Control While a Process Is Waiting for Be Finished
Why Can't I Reference System.Componentmodel.Dataannotations
Using SQL Convert Function Through Nhibernate Criterion
Retrieve an Object from Entityframework Without One Field
Spawn a New Thread to Open a New Window and Close It from a Different Thread
Com Object That Has Been Separated from Its Underlying Rcw Cannot Be Used