# How to Run Elasticsearch from source code or IDE

**URL:** <https://discuss.elastic.co/t/how-to-run-elasticsearch-from-source-code-or-ide/205693>\
**Category:** Elasticsearch\
**Created:** [October 29, 2019, 2:45pm UTC](https://discuss.elastic.co/t/how-to-run-elasticsearch-from-source-code-or-ide/205693 "2019-10-29T14:45:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hari\_Prasad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hari_prasad/32/56784_2.png) [@Hari\_Prasad](https://discuss.elastic.co/u/Hari_Prasad)\
**Post date:** [October 29, 2019, 2:45pm UTC](https://discuss.elastic.co/t/how-to-run-elasticsearch-from-source-code-or-ide/205693/1 "2019-10-29T14:45:00Z")

</div>

Hi  
I am trying to run the Elasticsearch from the source code in Idea. I have gone through the below blog trying to do the same

> **[Setup, Run & Debug Elasticsearch Source Code in IntelliJ IDEA](https://www.elastic.co/blog/how-to-debug-elasticsearch-source-code-in-intellij-idea)**
>
> Learn how to setup an IntelliJ IDEA project that will allow interactive debugging of Elasticsearch and Lucene source code.

The problem with this is that I am unable to change any settings in the elasticsearch.yml file in \<ELATICSEARCH\_HOME\>/distribution/build/cluster/run node0/elasticsearch-7.3.0-SNAPSHOT/config. Any change made is overridden when the next gradle run.

It would be great help if some one can help me with the procedure for running from the source code itself and not attach it.

Thank you  
Hari

---

<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:** [November 26, 2019, 2:45pm UTC](https://discuss.elastic.co/t/how-to-run-elasticsearch-from-source-code-or-ide/205693/2 "2019-11-26T14:45:14Z")

</div>

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