Skip to content

Commit b8ea209

Browse files
authored
Merge pull request #7853 from microsoft/upgraded-spork
Addressing feedback about pickArgs
2 parents aa9a750 + 1889d9f commit b8ea209

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/python/debugging.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,9 @@ Specifies arguments to pass to the Python program. Each element of the argument
405405
"args": ["--quiet", "--norepeat", "--port", "1593"],
406406
```
407407

408-
If you want to provide different arguments per debug run, you can set `args` to `${command:pickArgs}`. This will prompt you to enter arguments each time you start a debug session.
408+
If you want to provide different arguments per debug run, you can set `args` to `"${command:pickArgs}"`. This will prompt you to enter arguments each time you start a debug session.
409+
410+
> **Note**: There is a difference in how `"${command:pickArgs}"` and `["${command:pickArgs}"]` are parsed, with specific notice to the usage of `[]`. As an array, all arguments are passed as a single string, without brackets each argument is passed as its own string.
409411

410412
### `stopOnEntry`
411413

0 commit comments

Comments
 (0)