在vscode的launch.json文件中的添加args选项后,需要选择Run -> Start Debugging 或按 F5进行调试,而不能点击如下图标进行调试。
launch.json
args
Run -> Start Debugging
F5
reference: