Open ansonmiu0214 opened 1 year ago
Would also like to see this, as I went to clean up the old workaround that we have (an arg of exactly ">"
or "<"
will not be escaped) but see that C++ hasn't adopted it.
Full context is in https://github.com/microsoft/debug-adapter-protocol/issues/146 and https://github.com/microsoft/vscode/issues/148887
Feature Request
Can we support the
"argsCanBeInterpretedByShell"
property in theRunInTerminalRequest
as part of the Debug Adapter Protocol? Official release notes - https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_70.md#argscanbeinterpretedbyshell-for-runinterminalrequestThis feature is supported by the VS Code Node debugger.
This will allow us to supply unmodified argument strings to the underlying C++ program when debugging. A use-case for this feature is to support prompting the user for command line arguments to pass to the underlying C++ program using VS Code's
promptString
variable substitution:This
launch.json
file currently fails with a parse error: