# How to Debug OpenMRS

**URL:** <https://talk.openmrs.org/t/how-to-debug-openmrs/45423>\
**Category:** Development\
**Created:** [March 19, 2025, 2:02pm UTC](https://talk.openmrs.org/t/how-to-debug-openmrs/45423 "2025-03-19T14:02:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ipiyumii](https://talk.openmrs.org/letter_avatar/ipiyumii/32/5_5575768a8748004e209b776fc1b2916d.png) [@ipiyumii](https://talk.openmrs.org/u/ipiyumii)\
**Post date:** [March 19, 2025, 2:02pm UTC](https://talk.openmrs.org/t/how-to-debug-openmrs/45423/1 "2025-03-19T14:02:21Z")

</div>

hi everyone, I am currently working with OpenMRS API and I need some guidance on debugging the application

---

<div class="post-metadata">

**Author:** ![mherman22](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mherman22/32/20233_2.png) [@mherman22](https://talk.openmrs.org/u/mherman22)\
**Post date:** [March 19, 2025, 2:16pm UTC](https://talk.openmrs.org/t/how-to-debug-openmrs/45423/2 "2025-03-19T14:16:15Z")

</div>

What specific issue are you facing while debugging? Are you getting an error message, or is something not working as expected?

---

<div class="post-metadata">

**Author:** ![ipiyumii](https://talk.openmrs.org/letter_avatar/ipiyumii/32/5_5575768a8748004e209b776fc1b2916d.png) [@ipiyumii](https://talk.openmrs.org/u/ipiyumii)\
**Post date:** [March 19, 2025, 5:57pm UTC](https://talk.openmrs.org/t/how-to-debug-openmrs/45423/3 "2025-03-19T17:57:37Z")

</div>

I want to understand how the API endpoints work in OpenMRS, specifically how a request flows through the application. For that, I need to debug the application. However, I’m not sure how to set up OpenMRS for debugging. Could you guide me on how to configure both the backend and the frontend for debugging and how to inspect API requests?

---

<div class="post-metadata">

**Author:** ![mherman22](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mherman22/32/20233_2.png) [@mherman22](https://talk.openmrs.org/u/mherman22)\
**Post date:** [March 19, 2025, 6:56pm UTC](https://talk.openmrs.org/t/how-to-debug-openmrs/45423/4 "2025-03-19T18:56:53Z")

</div>

You can follow this guide first to setup an OpenMRS instance. [https://openmrs.atlassian.net/wiki/spaces/docs/pages/25472796/OpenMRS+SDK+Step+By+Step+Tutorials](https://openmrs.atlassian.net/wiki/spaces/docs/pages/25472796/OpenMRS+SDK+Step+By+Step+Tutorials)

Then you can follow this documentation of our restapi at [OpenMRS Docs](https://rest.openmrs.org/#openmrs-rest-api) to see the various endpoints offered.
