Debugging with command-line parameters in Visual Studio

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Debugging with command-line parameters in Visual Studio

Message par Clippy »

Debugging with command-line parameters in Visual Studio
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: Debugging with command-line parameters in Visual Studio

Message par Clippy »

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 »