Search code examples
c#visual-studiodebuggingvisual-studio-2012visual-studio-debugging

Debug 2+ instances of same project with different config


I'm writing a distributed app and testing requires that I run more than one instance at a time.

Is it possible to debug two or more distinct instances of the same project (at the simplest, passing in different command-line options)?


Solution

  • Yes, attach to both processes (Debug -> Attach to Process). They will appear under the Processes debug window and their threads will be grouped/headed by process in the Threads window.