During debugging in Visual Studio, attaching to a process is a very common activity, and as a developer, we are all familiar with it. We can attach the Visual Studio debugger to a running process by navigating from Debug > Attach to Process (Ctrl+Alt+P) and then select the specific process from the Attach to Process dialog box.
Now, when you have several processes listed in the Attach to Process dialog window, it became quite difficult to find out the process that you are looking for. Either you need scroll through the list or sort it based on name to find them easily. With Visual Studio 2017, it is now easier and fast with the Process Filter option. By specifying the name of the process, you can easily filter the processes you are looking for. When you see your required process is there in the list, go ahead and attach!
This could be a repetitive process during the development and debug of your application. You may need to stop the debugging, then attach again next time with some modification in the code. Visual Studio simplified this process attaching mechanism by introducing “Reattach to Process” (Shift+Alt+P) to attach it again – which we discussed a couple of weeks back. – Simplified Process Attaching – Reattach to Process in Visual Studio 2017
Hope this helps!