Upgrade bashdb and add more useful defaults

This commit is contained in:
Ben Jackson 2020-01-17 15:26:52 +00:00
commit df759ec9dc

View file

@ -207,9 +207,37 @@ GADGETS = {
'download/${version}/${file_name}',
},
'all': {
'file_name': 'bash-debug-0.3.5.vsix',
'version': 'v0.3.5',
'file_name': 'bash-debug-0.3.6.vsix',
'version': 'v0.3.6',
'checksum': '',
},
'do': lambda name, root: InstallBashDebug( name, root ),
'adapters': {
"vscode-bash": {
"name": "bashdb",
"command": [
"node",
"${gadgetDir}/vscode-bash-debug/out/bashDebug.js"
],
"variables": {
"BASHDB_HOME": "${gadgetDir}/vscode-bash-debug/bashdb_dir"
},
"configuration": {
"request": "launch",
"type": "bashdb",
"program": "${file}",
"args": [],
"env": {},
"pathBash": "bash",
"pathBashdb": "${BASHDB_HOME}/bashdb",
"pathBashdbLib": "${BASHDB_HOME}",
"pathCat": "cat",
"pathMkfifo": "mkfifo",
"pathPkill": "pkill",
"cwd": "${workspaceRoot}",
"terminalKind": "integrated",
}
}
}
},
'vscode-go': {
@ -318,6 +346,11 @@ def InstallCppTools( name, root ):
MakeExtensionSymlink( name, root )
def InstallBashDebug( name, root ):
MakeExecutable( os.path.join( root, 'extension', 'bashdb_dir', 'bashdb' ) )
MakeExtensionSymlink( name, root )
def InstallTclProDebug( name, root ):
configure = [ './configure' ]