diff --git a/magik-language-server/src/main/java/nl/ramsolutions/sw/magik/languageserver/MagikLanguageServer.java b/magik-language-server/src/main/java/nl/ramsolutions/sw/magik/languageserver/MagikLanguageServer.java index 8c40ad60..f9461d34 100644 --- a/magik-language-server/src/main/java/nl/ramsolutions/sw/magik/languageserver/MagikLanguageServer.java +++ b/magik-language-server/src/main/java/nl/ramsolutions/sw/magik/languageserver/MagikLanguageServer.java @@ -49,6 +49,10 @@ public MagikLanguageServer() { public CompletableFuture initialize(final InitializeParams params) { LOGGER.trace("initialize"); + // Log PID. + final ProcessHandle processHandle = ProcessHandle.current(); + LOGGER.info("PID: {}", processHandle.pid()); + // Log server version. final String version = this.getClass().getPackage().getImplementationVersion(); LOGGER.info("Version: {}", version);