Go to Project-><Projectname> Properties
. Then, click on the Debug
tab. Then:
If you’re using Visual Studio 2022
Continue by clicking Open debug launch profiles UI
. Fill in your arguments in the textbox labeled Command line arguments
.
If you’re using a version before Visual Studio 2022
The Command Line Arguments
textbox is available on the Debug tab. Fill your arguments in the textbox.