Visual-studio – detach one process from visual studio debugger

debuggingvisual studio

My question is somewhat similar to this
"How to stop debugging (or detach process) without stopping the process?"

but i want to detach from one process.

for instance, I have a windows form app which i also attach to a windows service. I want to detach from only service (detach all will remove debugging from all executions and hence i won't be able to debug other application).

P.S: If possible please mention for visual studio 2008 and 2010.

Best Answer

In the Processes window (Debug -> Windows -> Processes), right-click on the name of the process you want to detach, and on the shortcut menu, click Detach Process.