/DebugExe (devenv.exe)
Opens the specified executable file to be debugged.
Syntax
devenv /DebugExe ExecutableFile
Arguments
ExecutableFile
Required. The path and file name of an
.exe
file. If the.exe
file isn't found or doesn't exist, no warning or error is displayed, and Visual Studio starts normally.
Remarks
Any strings following the ExecutableFile parameter are passed to that file as arguments.
Visual Studio will parse any strings following the ExecutableFile parameter for matches in Devenv command-line switches. You can prevent Visual Studio from parsing a command-line switch by surrounding the switch with double quotes.
Example
The following example opens the file MyApplication.exe
for debugging.
devenv /debugexe MyApplication.exe
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for