Debugging with command-line parameters in Visual Studio

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Debugging with command-line parameters in Visual Studio

Message par ForumBot »

Debugging with command-line parameters in Visual Studio
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Debugging with command-line parameters in Visual Studio

Message par ForumBot »

Yes, it's in the *Debug* section of the properties page of the project.

In Visual Studio since 2008: right-click on the project node, choose *Properties*, go to the *Debugging* section -- there is a box for "Command Arguments".

On a more recent version of Visual Studio, you'll find it in "Project Debug Properties" under the run button:

[](https://i.sstatic.net/AWEwKA8J.png)
[](https://i.sstatic.net/nuU9CbAP.png)
Répondre

Revenir à « Visual Studio & VS Code »