/DebugExe (devenv.exe)

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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