Using VS (instead of WinDbg) to debug application startup

This is another one of those things that I forget all the time, so I’m posting here as a way of remembering (and because it’s incredibly useful if, like me, you find windbg somewhat opaque). http://msdn2.microsoft.com/en-us/library/a329t4ed.aspx It’s very convenient to be able to set this registry key and break into your application on startup, regardless…

1