You can enter command arguments, like in the second window, in Debugging, at https://mirkwood.cs.edinboro.edu/~bennett/class/csci310/spring2015/notes/hello/one.html
How to use command on visual studio
alice alice
80
Reputation points
I generate a 123.exe execute file.
Run it with --enable-logging --v=1 (0, 2, ... ) from command line.
How to add the parameter to 123.exe on Visual studio.
P.S. I click the button run, it will automatically run 123.exe on visual studio
Now I also want to click the button run, it will automatically run 123.exe --enable-logging --v=1 on visual studio
2 answers
Sort by: Most helpful
-
-
alice alice 80 Reputation points
2024-12-12T02:47:13.1433333+00:00 Follow these steps, it show the word, not the interface.
how to convert it to interface?
launch.vs.json
{
"version": "0.2.1",
"defaults": {},
"configurations": [
{ "type": "default", "project": "CMakeLists.txt", "projectTarget": "resource_manager.exe (my_project\\Release\\resource_manager.exe)", "name": "resource_manager.exe (my_project\\Release\\resource_manager.exe)" }
]
}