Add debug flag for query server

And separate flag for IDE server. Setting these flags to `true` will
start the respective Java processes in debug mode so that they can
be attached to a debugger.
This commit is contained in:
Andrew Eisenberg
2020-11-18 08:34:51 -08:00
parent e0cd041d98
commit a7bf5e60f3
4 changed files with 22 additions and 9 deletions

5
.vscode/launch.json vendored
View File

@@ -16,8 +16,9 @@
"${workspaceRoot}/extensions/ql-vscode/out/**/*.js",
],
"env": {
// uncomment to allow debugging the language server Java process from a remote java debugger
// "DEBUG_LANGUAGE_SERVER": "true"
// change to 'true' debug the IDE or Query servers
"IDE_SERVER_JAVA_DEBUG": "false",
"QUERY_SERVER_JAVA_DEBUG": "false",
}
},
{