Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow args string in tasks.json #128561

Closed
FaustVX opened this issue Jul 13, 2021 · 3 comments
Closed

Allow args string in tasks.json #128561

FaustVX opened this issue Jul 13, 2021 · 3 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s)

Comments

@FaustVX
Copy link

FaustVX commented Jul 13, 2021

In .vscode/launch.json we could pass a string in args, but in .vscode/tasks.json we can only pass an array of strings.

In my situation, I want to pass an input via ${input:args}, (like resize -w10 -h10) and still have the string splited to have resize, -w10 and -h10 passed to my program.
This works well in launch.json, but tasks.json require an array.

@weinand
Copy link
Contributor

weinand commented Jul 13, 2021

VS Code knows nothing about launch.json properties like "args". All properties are contributed by individual debug extensions. So you will have to file a feature request against the debugger extension you are using.

Please see microsoft/vscode-python-debugger#63 and #83678 for details.

@weinand weinand added the debug Debug viewlet, configurations, breakpoints, adapter issues label Jul 13, 2021
@weinand
Copy link
Contributor

weinand commented Jul 13, 2021

/duplicate #83678

@github-actions github-actions bot locked and limited conversation to collaborators Aug 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants
@weinand @FaustVX and others