What is your favorite technique for launching a windbg user-mode remote debugging session? Why is do you prefer this technique over other techniques? (pros/cons)
There are at least four different ways to do user-mode remote debug using windbg, as documented in the "Remote Debugging" section of the debugging tools for windows help file.
- run app on target then attach to it from the host windbg
- have the host windbg use remote.exe to launch the app on the target
- have the "smart client" host windbg launch the app on the target via a process server that is running on the target
- run a windbg instance on the target machine using the option "-server" to automatically start a server, then connect to the server from a 2nd machine.