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”
In Visual Studio: