# Setting up liquibase locally in Intellij to contribute

**URL:** <https://forum.liquibase.org/t/setting-up-liquibase-locally-in-intellij-to-contribute/9715>\
**Category:** Liquibase Development\
**Created:** [September 3, 2024, 5:55pm UTC](https://forum.liquibase.org/t/setting-up-liquibase-locally-in-intellij-to-contribute/9715 "2024-09-03T17:55:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![archit13](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@archit13](https://forum.liquibase.org/u/archit13)\
**Post date:** [September 3, 2024, 5:55pm UTC](https://forum.liquibase.org/t/setting-up-liquibase-locally-in-intellij-to-contribute/9715/1 "2024-09-03T17:55:31Z")

</div>

Hi,  
I am following [Setup Dev Environment - contribute.liquibase.com](https://contribute.liquibase.com/code/get-started/env-setup/) and [Getting setup with liquibase project on local workspace - #14 by chenmeister](https://forum.liquibase.org/t/getting-setup-with-liquibase-project-on-local-workspace/4596/14) but facing issues in setting up liquibase locally to debug and contribute and eventually write custom extensions.

So main purpose is to do debug code which i want to contribute.

 ![Screenshot 2024-09-03 at 10.53.00 AM](https://us1.discourse-cdn.com/flex020/uploads/liquibase1/original/2X/b/b06d5fc91096982384196364f644d47f5b07deb6.jpeg)

Following this and docs i have tried module classpath as liquibase-cli, liquibase-core but none of them worked.

Even recommendation to add log-level is not adding further logs to recommend what needs to be fixed.

Error coming is -

```auto
Unexpected error running Liquibase: Cannot invoke "liquibase.logging.mdc.MdcManager.put(String, String, boolean)" because the return value of "liquibase.Scope.getMdcManager()" is null

For more information, please use the --log-level flag

```

---

<div class="post-metadata">

**Author:** ![admah](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/admah/32/1238_2.png) [@admah](https://forum.liquibase.org/u/admah)\
**Post date:** [September 3, 2024, 8:51pm UTC](https://forum.liquibase.org/t/setting-up-liquibase-locally-in-intellij-to-contribute/9715/2 "2024-09-03T20:51:56Z")

</div>

@archit13 have you taken a look at the extension guide we have at [Your First Extension - contribute.liquibase.com](https://contribute.liquibase.com/extensions-integrations/extensions-overview/your-first-extension/)

You should be able to jump in quickly via those docs and test your extension against the latest version of Liquibase.

---

<div class="post-metadata">

**Author:** ![archit13](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@archit13](https://forum.liquibase.org/u/archit13)\
**Post date:** [September 3, 2024, 9:04pm UTC](https://forum.liquibase.org/t/setting-up-liquibase-locally-in-intellij-to-contribute/9715/3 "2024-09-03T21:04:06Z")

</div>

Hi @admah yes i was able to run [Your First Extension - contribute.liquibase.com](https://contribute.liquibase.com/extensions-integrations/extensions-overview/your-first-extension/) via cli only though.

So before delving further into extensions first, i was trying to setup liquibase via IDE (Intellij) so that i can put debugger points to know how code is working it out.

Similarly post that thinking the same for extensions.  
But failed at both of them.

---

<div class="post-metadata">

**Author:** ![archit13](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@archit13](https://forum.liquibase.org/u/archit13)\
**Post date:** [September 4, 2024, 9:54pm UTC](https://forum.liquibase.org/t/setting-up-liquibase-locally-in-intellij-to-contribute/9715/4 "2024-09-04T21:54:02Z")

</div>

Can someone help me further on this?  
@admah would it be possible if you can check this out or share anything which I am missing?

---

<div class="post-metadata">

**Author:** ![admah](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/admah/32/1238_2.png) [@admah](https://forum.liquibase.org/u/admah)\
**Post date:** [September 6, 2024, 1:59pm UTC](https://forum.liquibase.org/t/setting-up-liquibase-locally-in-intellij-to-contribute/9715/5 "2024-09-06T13:59:33Z")

</div>

@archit13 we are taking a look internally to make sure the instructions are right, and to see if there’s anything we can clarify further. I will follow-up on this thread as soon as I can.

---

<div class="post-metadata">

**Author:** ![archit13](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@archit13](https://forum.liquibase.org/u/archit13)\
**Post date:** [September 13, 2024, 5:06am UTC](https://forum.liquibase.org/t/setting-up-liquibase-locally-in-intellij-to-contribute/9715/6 "2024-09-13T05:06:05Z")

</div>

Hi @admah were you able to confirm on this about the intellij setup for contributing code to liquibase?

---

<div class="post-metadata">

**Author:** ![admah](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/admah/32/1238_2.png) [@admah](https://forum.liquibase.org/u/admah)\
**Post date:** [September 13, 2024, 7:22pm UTC](https://forum.liquibase.org/t/setting-up-liquibase-locally-in-intellij-to-contribute/9715/7 "2024-09-13T19:22:38Z")

</div>

@archit13 we discovered a couple of issues when starting a new install of core via maven(not specifically the same as yours), and are working to fix those. One of the related PRs is here: [Getting started fixes by abrackx · Pull Request #6303 · liquibase/liquibase · GitHub](https://github.com/liquibase/liquibase/pull/6303). The other involves failing tests for our H2 db and is still being investigated.

---

<div class="post-metadata">

**Author:** ![archit13](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@archit13](https://forum.liquibase.org/u/archit13)\
**Post date:** [September 17, 2024, 4:50am UTC](https://forum.liquibase.org/t/setting-up-liquibase-locally-in-intellij-to-contribute/9715/8 "2024-09-17T04:50:56Z")

</div>

Thanks @admah for looking this up, let me know when this is done and you are able to make it working via maven, so i can continue contributing to liquibase.

---

<div class="post-metadata">

**Author:** ![archit13](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@archit13](https://forum.liquibase.org/u/archit13)\
**Post date:** [September 25, 2024, 4:56am UTC](https://forum.liquibase.org/t/setting-up-liquibase-locally-in-intellij-to-contribute/9715/9 "2024-09-25T04:56:03Z")

</div>

Hi @admah i see the PR was closed, is the issue resolved?

---

<div class="post-metadata">

**Author:** ![archit13](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@archit13](https://forum.liquibase.org/u/archit13)\
**Post date:** [February 4, 2025, 5:58am UTC](https://forum.liquibase.org/t/setting-up-liquibase-locally-in-intellij-to-contribute/9715/10 "2025-02-04T05:58:06Z")

</div>

@admah any update on this?
