Debugging with command line arguments in Visual Studio 2015

17,598

Solution 1

For .Net builds, open project properties and select the Debug tab. Command line args can be added under the 'Start Options' section. For native builds, open project properties and select the Debugging tab under Configuration Properties. Command line args can be added (for the local debugger) in the 'Command Arguments' field.

Solution 2

Right click the Project (not the Solution!) in Solution Explorer and select Properties >>> Debug >>> Start Options >>> Command line arguments

Share:
17,598
Jack Smith
Author by

Jack Smith

Updated on July 20, 2022

Comments

  • Jack Smith
    Jack Smith almost 2 years

    I might be blind, but I can't for the life of me find out where to set command line arguments for debugging in Visual Studio 2015.

    In VS 2013 (and every other version I've used) you can add them in the Debugging section of a project properties page). Is there any way I can set them via the IDE in VS 2015?