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.
How do I add a process in Visual Studio?
You can attach the Visual Studio debugger to a running process on a local or remote computer. After the process is running, select Debug > Attach to Process or press Ctrl+Alt+p in Visual Studio, and use the Attach to Process dialog to attach the debugger to the process.
What is w3wp exe process?
“An Internet Information Services (IIS) worker process is a Windows process (w3wp.exe) which runs web applications, and is responsible for handling requests sent to a web Server for a specific application pool.”