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.
How do you attach a process in VS code?
Simply click the cog icon to open the json file. Here you will see configurations for your setup. name refers to the option inside the debug dropdownlist. processName is the process name to attach to.
How do I insert a w3wp process in Visual Studio?
3 Answers. 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.