Skip to content

Add 'quoteArgs' to launch.json schema#5639

Merged
WardenGnaw merged 1 commit intomasterfrom
dev/waan/addQuoteArgs
Jun 15, 2020
Merged

Add 'quoteArgs' to launch.json schema#5639
WardenGnaw merged 1 commit intomasterfrom
dev/waan/addQuoteArgs

Conversation

@WardenGnaw
Copy link
Copy Markdown
Member

With microsoft/MIEngine#1006, the debug adapter
supports 'quoteArgs' in pipeTransports. If the user wishes to handle the
quoting for pipeTransport arguments, they should set this field to
'false'. It currently defaults to true.

For example, if quoteArgs is 'true', the pipe command will result in
bash.exe -c '/usr/bin/gdb --interpreter=mi' If false,
it will result to bash.exe -c /usr/bin/gdb --interpreter=mi.
In this example, the latter will not work, but will be needed for a pipeTransport command like wsl.exe

@WardenGnaw WardenGnaw requested a review from pieandcakes June 12, 2020 23:11
Comment thread Extension/package.nls.json Outdated
With microsoft/MIEngine#1006, the debug adapter
supports 'quoteArgs' in pipeTransports. If the user wishes to handle the
quoting for pipeTransport arguments, they should set this field to
'false'. It currently defaults to true.

For example, if quoteArgs is 'true', the pipe command will result in
"bash.exe -c '/usr/bin/gdb --interpreter=mi'" If false,
it will result to "wsl.exe -c /usr/bin/gdb --interpreter=mi"
@WardenGnaw WardenGnaw force-pushed the dev/waan/addQuoteArgs branch from bb87aad to f05448a Compare June 15, 2020 19:35
@WardenGnaw WardenGnaw merged commit f3c4431 into master Jun 15, 2020
@WardenGnaw WardenGnaw deleted the dev/waan/addQuoteArgs branch June 15, 2020 20:31
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants