Run elasticsearch in Eclipse debugger with plugin

Hello,

I'm using Elasticsearch from Eclipse debugger by running org.elasticsearch.bootstrap.Bootstrap as main class. But is it possible to run it with more pluging or even custom option (like enabling Groovy scripting)?

Are you running elasticsearch repo itself or within a project with elasticsearch dependency ?
If the former, which branch?

I'm running from a project with elasticsearch dependency.

In that case, you just have to add the plugin itself as a dependency to your project and it will be loaded when your project starts.

Nice, it works :wink:

When we run elasticsearch repo itself on master branch? So I have
:core
:plugins:my-plugin

When running bootstrap.Elasticsearch.java from :core I've added :plugins:my-plugin as a classpath entry in run configurations but that doesn't work.