How do I start a program with arguments when debugging?

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.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)