Hi. I want to debug an existing plugin (e.g. ingest-attachment). Starting elastic search with the plugin by running ./gradlew :plugin:ingest-attachment:run --debug-jvm -Drun.distribution=oss
and attaching the debugger works fine.
But not all modules are loaded, e.g. _reindex
is not available, whereas running ./gradlew run --debug-jvm -Drun.distribution=oss
loads all modules. I verified that by curl localhost:9200/_nodes?pretty
, only the transport-netty4
module is available when using the plugin:ingest-attachment:run
task. How can I make the modules available?
Futher I need to run multiple plugins at the same time, how can I do that?
Thanks,
Christopher