private static @Nullable String loadLogFile() {
    var app = ApplicationManager.getApplication();
    if (app != null && app.isEAP()) {
      var logFile = PathManager.getLogDir().resolve("pty.log");
      if (Files.exists(logFile)) {
        try {
          return Files.readString(logFile);
        }
        catch (Exception e) {
          return "Unable to retrieve PTY log: " + e.getMessage();
        }
      }
    }
    return null;
  }
private static @Nullable String loadLogFile()