# Debugging local/prod issue

**URL:** https://discuss.openedx.org/t/debugging-local-prod-issue/11403
**Category:** Tutor Help
**Created:** [October 12, 2023, 10:34am UTC](https://discuss.openedx.org/t/debugging-local-prod-issue/11403 "2023-10-12T10:34:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![borgdrone7](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@borgdrone7](https://discuss.openedx.org/u/borgdrone7)
#### Post date: [October 12, 2023, 10:34am UTC](https://discuss.openedx.org/t/debugging-local-prod-issue/11403/1 "2023-10-12T10:34:35Z")

</div>

Hi,

I am trying to debug issues with Palm release and Discovery plugin. It doesn’t work correctly and many people have already asked questions about this and no one provided answer. So I decided to debug the code and see what’s happening. However with Tutor dev discovery plugin doesn’t work at all (see bug in tutor discovery plugin github which I submitted). So I am forced to debug in local mode. However even with mounted edx-platform code, every tiime I change code I need to restart lms container in order for changes to be applied. In dev mode as soon as I change the code and refresh the page the changes are applied. Anyone knows why is this happening and how can I solve it?

Thanks

---

<div class="post-metadata">

### Author: ![carT](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@carT](https://discuss.openedx.org/u/carT)
#### Post date: [March 18, 2026, 2:36pm UTC](https://discuss.openedx.org/t/debugging-local-prod-issue/11403/2 "2026-03-18T14:36:26Z")

</div>

In tutor dev there is the container that manage the hot reload, called watchthemes, this is why changes are applied immediately

---

<div class="post-metadata">

### Author: ![Ahmed\_Khalid](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/ahmed_khalid/32/5121_2.png) [@Ahmed\_Khalid](https://discuss.openedx.org/u/Ahmed_Khalid)
#### Post date: [March 25, 2026, 2:10pm UTC](https://discuss.openedx.org/t/debugging-local-prod-issue/11403/3 "2026-03-25T14:10:39Z")

</div>

Could you share links to the specific issues you’ve encountered with the Discovery plugin in tutor dev? That would help narrow down whether it’s a known bug or something specific to your setup.

On the core question, the difference between tutor dev and tutor local is intentional:

- `tutor dev` runs services in development mode with auto-reload (via Django’s runserver and the watchthemes container for theme changes). Code changes take effect on page refresh without restarting containers.
- `tutor local` runs a production-like setup using gunicorn, which does not watch for file changes. That’s why you need to restart the container after each change — it’s mimicking how the platform runs in production.

If you can share links to the Discovery-related issues, we can see if there’s a fix or a patch that would let you stay in tutor dev.
