vscode-java-debug icon indicating copy to clipboard operation
vscode-java-debug copied to clipboard

Adopt argsCanBeInterpretedByShell

Open roblourens opened this issue 3 years ago • 2 comments

When a debug adapter uses RunInTerminalRequest, vscode is now escaping characters for the shell by default, but we added a flag to RunInTerminalRequest to allow debug adapters to disable this escaping, which some users want. A user pointe this out for java in https://github.com/microsoft/vscode/issues/160999. This is adopted in js-debug and python, and I'd love to see it adopted for java. In js-debug and python, the args property can be a string or an array of strings. If it's just a string, the args are not escaped. I can talk more about what it will take to adopt this if needed.

See https://code.visualstudio.com/updates/v1_70#_argscanbeinterpretedbyshell-for-runinterminalrequest and https://github.com/microsoft/debug-adapter-protocol/issues/146

roblourens avatar Sep 15 '22 17:09 roblourens

@roblourens thanks to triage the issue to Java debugger side. I will take a look at this new capability.

testforstephen avatar Sep 19 '22 02:09 testforstephen

Any updates on this?

lucsoft avatar Feb 22 '23 15:02 lucsoft