Jack Smith
Jack Smith

Reputation: 763

Debugging with command line arguments in Visual Studio 2015

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?

Upvotes: 10

Views: 18558

Answers (2)

Stephen C
Stephen C

Reputation: 791

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

Upvotes: 2

Stephen
Stephen

Reputation: 87

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.

Upvotes: 6

Related Questions