问题 As I understand it now, the only way to use the remote debugger is to start the target application, and then attach to it through Visual Studio. Is there a way to capture all of the breakpoints from the very beginning of the program? There is code within my program that I need to debug, and I can never get the debugger attached fast enough to capture that executing code. 回答1: If you can change the code, try injecting this line of code in the starting point of your app: System.Diagnostics