Skip to content
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

Can't launch debug (sh: 1 [: Linux: unexpected operator) #49

Open
aremmell opened this issue Aug 27, 2018 · 0 comments
Open

Can't launch debug (sh: 1 [: Linux: unexpected operator) #49

aremmell opened this issue Aug 27, 2018 · 0 comments

Comments

@aremmell
Copy link

This appears to be a regression, and someone filed an issue on the main VS Code repo, and the developer just closed it and asked them to file it here. I don't think they did, so:

Platform
4.15.0-33-generic #36~16.04.1-Ubuntu SMP (x64)

Build info
Version: 1.26.1
Commit: 493869ee8e8a846b0855873886fc79d480d342de
Date: 2018-08-16T18:34:20.517Z
Electron: 2.0.5
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(gdb) Remote Debug",
            "type": "cppdbg",
            "request": "attach",
            "program": "/usr/src/build/bin/qd",
            "processId": "${command:pickRemoteProcess}",
            "targetArchitecture": "arm",
            "pipeTransport": {
                "debuggerPath": "/usr/bin/gdb",
                "pipeProgram": "/usr/bin/ssh",
                "pipeArgs": ["root@tom"],
                "pipeCwd":"${workspaceFolder}"
            },
            "MIMode": "gdb",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                }
            ]
        }
    ]
}

Resulting output (says remote-attach)

Linux
sh: 1: [: Linux: unexpected operator
sh: 1: [: Linux: unexpected operator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant