/DebugExe
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

/DebugExe (devenv.exe) 

Opens the specified executable file to be debugged.


Devenv /debugexe ExecutableFile

ExecutableFile

Required. The path and file name of an .exe file.

If the .exe file is not found or does not exist, no warning or error is displayed and Visual Studio starts normally.

Any strings following the ExecutableFile parameter are passed to that file as arguments.

The following example opens the file MyApplication.exe for debugging.

Devenv.exe /debugexe MyApplication.exe
Show:
© 2016 Microsoft