-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Unable to start debugging. Unable to establish a connection to GDB. Debug output may contain more ...
The console output:
Starting: "C:\Windows\sysnative\bash.exe" "/usr/bin/gdb --interpreter=mi"
�曪?
"C:\Windows\sysnative\bash.exe" exited with code -1 (0xFFFFFFFF).
the launch.json file content:
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Bash on Windows Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/test.out",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true,
"pipeTransport": {
"debuggerPath": "/usr/bin/gdb",
"pipeProgram": "C:\Windows\sysnative\bash.exe",
"pipeArgs": [],
"pipeCwd": ""
},
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]