launch.json properties with multiple interactive variables break debugging #45493
Labels
bug
Issue identified by VS Code Team member as probable bug
debug
Debug viewlet, configurations, breakpoints, adapter issues
help wanted
Issues identified as good community contribution opportunities
verified
Verification succeeded
Milestone
Issue Type: Bug
If one of a launch configuration's properties uses multiple interactive variables, the expansion will fail: vscode won't call the command or start a debug session.
For example,
storyFile
here causes the issue, but works as expected if I remove${command:zversion}
.Looks like these are matched with a greedy regular expression, so everything from the first
${
to the last}
is merged into one variable reference: https://github.com/Microsoft/vscode/blob/1.21.0/src/vs/workbench/services/configurationResolver/electron-browser/configurationResolverService.ts#L237VS Code version: Code 1.21.0 (9a199d7, 2018-03-07T11:04:09.969Z)
OS version: Windows_NT x64 10.0.16299
System Info
The text was updated successfully, but these errors were encountered: