I have created a console application in VS Code using the below dotnet command.
My VS Code version is –
When I configured the launch.json file by adding a launch configuration for this console application, it shows yellow squiggly lines below the ‘args’ property.
On hover over the squiggly line, it shows a message that Property ‘args’ is not allowed.
I have found some other useful links on stack overflow and in VS Code documentation which indicate that ‘args’ input is allowed for launch requests only. In my case I am trying it with launch request, however, it’s not working.
useful links already explored.
- Property args is not allowed in launch.json in vscode
- https://code.visualstudio.com/docs/editor/debugging