private static @Nullable String getDebugArgs() {
    for (String value : ManagementFactory.getRuntimeMXBean().getInputArguments()) {
      if (value.contains("-agentlib:jdwp")) {
        return value;
      }
    }
    return null;
  }
private static @Nullable String getDebugArgs()