Is there a way to debug ElasticSearch server in realtime from IntelliJ? I don't have any exp with Maven. My goal is to have it running while I can debug it and inspect variables and the execution flow.
Ok found it. Use the Run menu of IntelliJ to add a new run configuration.
Main classto org.elasticsearch.bootstrap.Bootstrap
VM optionsto -Des.foreground=yes