# How do i change to dev mode from prod, so i can see errors?

**URL:** <https://forum.mautic.org/t/how-do-i-change-to-dev-mode-from-prod-so-i-can-see-errors/22379>\
**Category:** Development\
**Created:** [January 18, 2022, 9:46am UTC](https://forum.mautic.org/t/how-do-i-change-to-dev-mode-from-prod-so-i-can-see-errors/22379 "2022-01-18T09:46:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivan006](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ivan006/32/6379_2.png) [@ivan006](https://forum.mautic.org/u/ivan006)\
**Post date:** [January 18, 2022, 9:46am UTC](https://forum.mautic.org/t/how-do-i-change-to-dev-mode-from-prod-so-i-can-see-errors/22379/1 "2022-01-18T09:46:06Z")

</div>

I know i cant look in the error log but i also wanna see the stack trace info

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [January 18, 2022, 6:58pm UTC](https://forum.mautic.org/t/how-do-i-change-to-dev-mode-from-prod-so-i-can-see-errors/22379/2 "2022-01-18T18:58:36Z")

</div>

enable debugging in your local.php file. If you are using CLI add -vvv to your commands.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [January 18, 2022, 10:29pm UTC](https://forum.mautic.org/t/how-do-i-change-to-dev-mode-from-prod-so-i-can-see-errors/22379/3 "2022-01-18T22:29:33Z")

</div>

And use index\_dev.php this gives you debug while browsing
