Go使用vscode追加命令行参数

Run -> Add Configuration -> Launch file,生成launch.json

添加参数

"externalConsole": true,
"args": ["-n","../../test.text"]

 

Leave a Reply

Your email address will not be published. Required fields are marked *