The way I do is like this:
- Right-click on your solution file, and choose Set Startup Projects...
- Choose Multiple startup projects and choose Start for your client and server project, leave the other ones set to none.
Now both projects will run at startup, and you will be able to debug them both.
reference[
^]