我正在Visual Studio中开发一个C++命令行应用程序,需要使用命令行参数进行调试.目前我只使用我需要的参数运行生成的EXE文件(像这样program.exe -file.txt),但这样我无法调试.有什么地方我可以指定调试的参数吗?
program.exe -file.txt
c++ debugging command-line visual-studio
c++ ×1
command-line ×1
debugging ×1
visual-studio ×1