Skip to content

When use "type": "dotnet" in launch.json, can I define additional command arguments on it? #8184

Open
@doggy8088

Description

@doggy8088

I tried to configure launch.json by the following JSON.

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "C#: audio-processor Debug",
            "type": "dotnet",
            "request": "launch",
            "projectPath": "${workspaceFolder}/audio-processor.csproj",
        }
    ]
}

I couldn't find a way to configure additional command arguments to my program. Just like:

dotnet run -- --args1=1 --args2=2 "filename"

Is it possible to have a args to the configuration?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions