Run the Visual Studio command prompt and run the following command:
devenv /debugexe yourapp.exe
It should be equivalent to opening an executable in Visual Studio, as Macke suggested in his answer.
Then you can click, for example. F10 so that the debugger stops at the start of the application or sets a breakpoint as usual, etc.
source share