如何在 Visual Studio 解决方案中调试链式可执行文件

How to debug chained executables in Visual Studio solution

我在 VS2015 中有两个项目。启动项目的可执行文件有时需要打开第二个项目的输出可执行文件。 (通过使用 Process.Start)

如何调试第二个可执行文件以及主要的可执行文件? VS 能否在输出目录中包含第二个可执行文件并自动设置调试?

在第二个进程启动后手动附加调试器(使用调试 -> 附加到进程)或使用 Microsoft Child Process Debugging Power Tool