c# - How to start another project in the solution in Debug mode -


I have a WCF host application that starts with executable with some dynamic parameters.

Now I want to debug this application but since this other device is being started by VSNt, it will not be loaded in debug mode.

Is it possible to write some DEBUG code only to execute this process in DEBUG mode, so it will be hit by break points.

Currently it is using Process.Start

Engaging the debugger is not an option, I have one more I'm looking for a practical solution.

Try adding this line to your WCF app: < Pre> System.Diagnostics Debugger.Launch ();

If AB is not running under the debugger, you will get a window if you want to debug the application.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

jquery - SimpleModal Confirm fails to submit form -