C++

Asked • 06/25/19

Debugging with command-line parameters in Visual Studio?

I'm developing a C++ command-line application in Visual Studio and need to debug it with command-line arguments. At the moment I just run the generated EXE file with the arguments I need (like this `program.exe -file.txt`) , but this way I can't debug. Is there somewhere I can specify the arguments for debugging?

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.