Go使用vscode追加命令行参数

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

添加参数

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
"externalConsole": true,
"args": ["-n","../../test.text"]
"externalConsole": true, "args": ["-n","../../test.text"]
"externalConsole": true,
"args": ["-n","../../test.text"]

 

Leave a Reply

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