Add a debug flag to allow remote debugging (#524)

With this flag on, it is possible to remote-debug the language server in a java debugger.
This commit is contained in:
Andrew Eisenberg
2020-08-06 11:08:26 -07:00
committed by GitHub
parent 8ccb7c4fa4
commit 648bf4b629
2 changed files with 16 additions and 2 deletions

6
.vscode/launch.json vendored
View File

@@ -15,7 +15,11 @@
"outFiles": [
"${workspaceRoot}/extensions/ql-vscode/out/**/*.js",
],
"preLaunchTask": "Build"
"preLaunchTask": "Build",
"env": {
// uncomment to allow debugging the language server Java process from a remote java debugger
// "DEBUG_LANGUAGE_SERVER": "true"
}
},
{
"name": "Launch Unit Tests (vscode-codeql)",