[Debug]Method for automatically launch debugger at application's startup time

Just a reference to the following MSDN document:

 #How to: Launch the Debugger Automatically
https://msdn.microsoft.com/en-us/library/a329t4ed.aspx

We can use the registry key mentioned to specify a target image and debugger pair we want to use.