# Gradle :plugins:plugin-id:run does not run all modules

**URL:** <https://discuss.elastic.co/t/gradle-plugin-id-run-does-not-run-all-modules/228489>\
**Category:** Elasticsearch\
**Created:** [April 17, 2020, 10:21am UTC](https://discuss.elastic.co/t/gradle-plugin-id-run-does-not-run-all-modules/228489 "2020-04-17T10:21:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![christopher.rossbach](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christopher.rossbach/32/66499_2.png) [@christopher.rossbach](https://discuss.elastic.co/u/christopher.rossbach)\
**Post date:** [April 17, 2020, 10:21am UTC](https://discuss.elastic.co/t/gradle-plugin-id-run-does-not-run-all-modules/228489/1 "2020-04-17T10:21:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 15, 2020, 10:21am UTC](https://discuss.elastic.co/t/gradle-plugin-id-run-does-not-run-all-modules/228489/2 "2020-05-15T10:21:23Z")

</div>

Closed on May 15, 2020, 10:21am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
