I have wcf console application server and console application client.
I would like to attach a debugger to the WCF server if the client is in debug mode in order to debug the server services.
So the client would run this code on startup:
if (Debugger.IsAttached)
Debugger.AttachToProcess("WCFProcessName"); //<<How this is done
Is it possible to do so?