/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.

Example

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

devenv /debugexe MyApplication.exe

See also