In the past you could tell the nodes in a test cluster to attach themselves to a waiting debugger on startup by passing the `--debug-server-jvm` option documented here:

https://github.com/elastic/elasticsearch/blob/c0228c73fea5caf279bf7141eabea50813c4528b/TESTING.asciidoc#L383-L390

I think this changed in #92379 and no longer seems to work. In fact I really wanted to attach a debugger to just one of the nodes in the cluster, and I believe #92379 might make this much easier to use (e.g. maybe via a method `LocalNodeSpecBuilder#debuggerPort(int)`). That'd be even better.
test/test-clusters/src/main/java/org/elasticsearch/test/cluster/local/LocalClusterFactory.java
} catch (ExecutionException e) {
                throw new RuntimeException("An error occurred while waiting for ports file for: " + this, e);
            }
        }
        private List<String> readPortsFile(Path file) {
            try (Stream<String> lines = Files.lines(file, StandardCharsets.UTF_8)) {
                return lines.map(String::trim).collect(Collectors.toList());
            } catch (IOException e) {
                throw new UncheckedIOException("Unable to read ports file: " + file, e);
            }
        }
        private void initializeWorkingDirectory() {
            try {
                IOUtils.deleteWithRetry(workingDir);
                try {
                    IOUtils.syncWithLinks(distributionDescriptor.getDistributionDir(), distributionDir);
                } catch (IOUtils.LinkCreationException e) {
                    
                    LOGGER.info("Failed to create working dir using hard links. Falling back to copy", e);
                    
                    IOUtils.deleteWithRetry(distributionDir);
                    IOUtils.syncWithCopy(distributionDescriptor.getDistributionDir(), distributionDir);
                }
                Files.createDirectories(repoDir);
                Files.createDirectories(dataDir);
                Files.createDirectories(logsDir);
                Files.createDirectories(tempDir);
            } catch (IOException e) {
                throw new UncheckedIOException("Failed to create working directory for node '" + spec.getName() + "'", e);
            }