/DebugExe (devenv.exe)

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. 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 is not found or does not 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.exe /debugexe MyApplication.exe  

See Also

Devenv Command Line Switches