Open
Description
I was unable to figure out how to enable command line args using this page: https://code.visualstudio.com/docs/csharp/debugger-settings
I asked Bing Copilot and it gave me the answer I wanted with copy/paste syntax right away. It gave me a helpful explanation, plus the following JSON.
{
"version": "0.2.0",
"configurations": [
{
"type": "coreclr",
"request": "launch",
"name": "Debug MyApp",
"program": "${workspaceFolder}/bin/Debug/netcoreapp3.1/MyApp.dll",
"args": ["arg1", "arg2", "arg3"]
}
]
}
Prompt: "how do I specify command line arguments in vs code launch.json for C#?"