Support the bash debugger

This required working around some sort of bug where the server returns
an invalid content length. Either that or we are somehow processing the
same message twice with additional escaping? It's really strange.
This commit is contained in:
Ben Jackson 2018-05-29 00:39:37 +01:00
commit b6a9cba52e
5 changed files with 67 additions and 26 deletions

View file

@ -21,6 +21,13 @@
"node",
"/Users/ben/.vscode/extensions/ms-python.python-2018.4.0/out/client/debugger/Main.js"
]
},
"bashdb": {
"name": "bashdb",
"command": [
"node",
"/Users/ben/.vscode/extensions/rogalmic.bash-debug-0.2.0/out/bashDebug.js"
]
}
},
"configurations": {
@ -72,6 +79,24 @@
"program": "/Users/ben/.vim/bundle/vimspector/support/test/cpp/simple_c_program/test",
"MIMode": "lldb"
}
},
"bashdb": {
"adapter": "bashdb",
"configuration": {
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (simplest configuration)",
"program": "/Users/ben/.vim/bundle/YouCompleteMe/install.sh",
"args": [],
"cwd": "/Users/ben/.vim/bundle/YouCompleteMe",
"pathBash": "bash",
"pathBashdb": "bashdb",
"pathCat": "cat",
"pathMkfifo": "mkfifo",
"pathPkill": "pkill",
"showDebugOutput": true,
"trace": true
}
}
}
}