diff --git a/src/main/java/com/sap/cap/cds/intellij/lsp/ServerDescriptor.java b/src/main/java/com/sap/cap/cds/intellij/lsp/ServerDescriptor.java index ef0f938..2cd9d83 100644 --- a/src/main/java/com/sap/cap/cds/intellij/lsp/ServerDescriptor.java +++ b/src/main/java/com/sap/cap/cds/intellij/lsp/ServerDescriptor.java @@ -71,7 +71,6 @@ private void handleServerError(int exitValue) { public GeneralCommandLine getCommandLine() throws ExecutionException { return (isDebugCdsLsp() ? getDebugCommandLine() : getDefaultCommandLine()) - .withEnvironment("CDS_LSP_TRACE_COMPONENTS", "*:verbose") // TODO check if this is really needed: // Suppress ANSI escape sequences in cds-compiler output .withEnvironment("NO_COLOR", "1") @@ -91,7 +90,7 @@ private static GeneralCommandLine getDefaultCommandLine() { "node", resolve(RELATIVE_SERVER_PATH), "--stdio" - ); + ).withEnvironment("CDS_LSP_TRACE_COMPONENTS", "*:verbose"); } private static GeneralCommandLine getDebugCommandLine() { @@ -102,7 +101,7 @@ private static GeneralCommandLine getDebugCommandLine() { "node", resolve(RELATIVE_SERVER_PATH), "--stdio" - ); + ).withEnvironment("CDS_LSP_TRACE_COMPONENTS", "*:debug"); } private static String resolve(String relativePath) {