vscode-code-runner icon indicating copy to clipboard operation
vscode-code-runner copied to clipboard

Add arguments (args)

Open RichWellum opened this issue 6 years ago • 2 comments

Is your feature request related to a problem? Please describe. Current vscode built in debugger accepts a launch.json file in the workspace where additional arguments can be added.

Describe the solution you'd like I'd like similar functionality, or a pointer to how to do it (looked through documentation - didn't see anything).

Also useful would be the ability to request args if none are found - so user can enter them interactively.

E.g. launch.json

{ "version": "0.2.0", "configurations": [

    {
        "name": "Python: Current File",
        "type": "python",
        "request": "launch",
        "program": "${file}",
        "console": "integratedTerminal",
        "args": ["arg1", "arg2", "argx"]
    }
]

}

This feature seems so obvious I am convinced I am missing something simple...

RichWellum avatar Oct 24 '19 16:10 RichWellum

See also Issue #142, Issue #380

Phrogz avatar Sep 01 '22 20:09 Phrogz