-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a way to avoid quoting 'debuggerPath' when using pipe transport #1318
Comments
@tanaka-takayoshi please file .NET related issues against https://github.com/OmniSharp/omnisharp-vscode/issues |
@tanaka-takayoshi this change was intentional as we had to deal with other transports that needed the other quoting behavior, and we wanted to be able to support scripts and pass though as many command line args as we needed. That said, I can definitely see the need for this. So we will need some new syntax for dealing with pipe programs that don't want quotes. My immediate thought is to allow To give some examples of my idea-- Docker (no quotes wanted):
Case where a quoted debugger command is implicitly added:
Equivalent to the previous example, but this time explicit
|
@rajkumar42 had the alternate suggestion of adding a new Boolean property to disable all argument quoting. Something like: @tanaka-takayoshi until we fix this, I believe you can work around the issue with --
Or on Windows with:
Note that in our testing, at least on Windows, we needed to also add |
@gregg-miskelly Thanks for your workaround! It works well for me. |
If anyone wants to try the fix, I have posted a new release of the C# extension that includes support for To try it -- use the use the Installing Beta Releases instructions to install v1.9.0-beta2. |
From @tanaka-takayoshi on March 13, 2017 9:7
1.11.0-insider
RHEL 7.3
Steps to Reproduce:
Start debug ".NET Core Docker Remote Attach"
Failed to execute docker command. This is because VS Code escape the debuggerPath with parameters.
The docker command recognizes "/opt/app-root/src/clrdbg/clrdbg --interpreter=mi" as one file path, then failed. I'm not sure which version, but the previous version (maybe 1.10.x-insider or 1.9.x-insider) VS Code didn't escape with option but not escaped like below.
I submitted to StackOverflow as a question. But, I found this issue occurred with not only "oc (OpenShit CLI)" command but also "docker" command. So I decided to submit this issue as a bug.
http://stackoverflow.com/questions/42731558/how-not-to-escape-debuggerpath-of-pipetransport-in-launch-json
This issue prevents me from executing remote debug from VS Code to docker.
Copied from original issue: microsoft/vscode#22514
The text was updated successfully, but these errors were encountered: