Upgrade bashdb and add more useful defaults
This commit is contained in:
parent
cb2e08b850
commit
df759ec9dc
1 changed files with 35 additions and 2 deletions
|
|
@ -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' ]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue