Add way to install a different java debugger, though it doens't work well

This commit is contained in:
Ben Jackson 2020-01-21 22:24:59 +00:00
commit 287286cadb
2 changed files with 39 additions and 0 deletions

View file

@ -127,6 +127,35 @@ GADGETS = {
}
},
},
'java-language-server': {
'language': 'javac',
'enabled': False,
'download': {
'url': 'https://marketplace.visualstudio.com/_apis/public/gallery/'
'publishers/georgewfraser/vsextensions/vscode-javac/${version}/'
'vspackage',
'target': 'georgewfraser.vscode-javac-0.2.31.vsix.gz',
'format': 'zip.gz',
},
'all': {
'version': '0.2.31',
'file_name': 'georgewfraser.vscode-javac-0.2.31.vsix.gz',
'checksum':
'',
},
'adapters': {
"vscode-javac": {
"name": "vscode-javac",
"type": "vscode-javac",
"command": [
"${gadgetDir}/java-language-server/dist/debug_adapter_mac.sh"
],
"attach": {
"pidSelect": "none"
}
}
},
},
'tclpro': {
'language': 'tcl',
'repo': {

View file

@ -17,6 +17,16 @@
"stopOnEntry": true,
"console": "integratedTerminal"
}
},
"Attach with vscode-javac": {
"adapter": "vscode-javac",
"configuration": {
"request": "attach",
"port": "${debugPort}",
"sourceRoots": [
"${workspaceRoot}/src/main/java"
]
}
}
}
}