Replies: 3 comments 4 replies
-
Currently there's no option to pass arguments to it. Does vscode offer functionality for that? Alternative option is to define the configuration in Lua, or you could use a |
Beta Was this translation helpful? Give feedback.
-
Of course one can add that the nvim config, however, that limits sharing when others working on same code repository rely on VsCode. |
Beta Was this translation helpful? Give feedback.
-
@mfussenegger do you think that could be possible to have some simple version of what I showed above add to the A simple MVP would be able to set the following from
{
"configurations": [
{
"name": "Run",
"type": "debugpy",
"request": "launch",
"program": "run.py",
"console": "internalConsole",
"args": [
"--arg1=${input:cfg_1_picker}",
"--arg2=${input:cfg_2_picker}",
]
}
],
"inputs": [
{
"id": "cfg_1_picker",
"type": "command",
"command": "pickFile",
"args": {
"prompt": "Select cfg 1",
"path": "/path/cfg1/",
"filters": "*.yaml"
}
}
]
...
}
|
Beta Was this translation helpful? Give feedback.
-
Hello,
Is there a way to pass arguments to
${command:pickFile}
like the path fromlaunch.json
?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions