# How to debug julia code in Genie framework

**URL:** https://discourse.julialang.org/t/how-to-debug-julia-code-in-genie-framework/102903
**Category:** New to Julia
**Tags:** question, debugging, genie
**Created:** [August 17, 2023, 1:05pm UTC](https://discourse.julialang.org/t/how-to-debug-julia-code-in-genie-framework/102903 "2023-08-17T13:05:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jayesh\_Patil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jayesh_patil/32/51605_2.png) [@Jayesh\_Patil](https://discourse.julialang.org/u/Jayesh_Patil)
#### Post date: [August 17, 2023, 1:05pm UTC](https://discourse.julialang.org/t/how-to-debug-julia-code-in-genie-framework/102903/1 "2023-08-17T13:05:40Z")

</div>

I Learn how to debug normal julia code with Debugger.jl package and @enter macros now i want to debug julia code inside the genie framework. please help me

---

<div class="post-metadata">

### Author: ![algunion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/algunion/32/51630_2.png) [@algunion](https://discourse.julialang.org/u/algunion)
#### Post date: [August 21, 2023, 9:54am UTC](https://discourse.julialang.org/t/how-to-debug-julia-code-in-genie-framework/102903/2 "2023-08-21T09:54:35Z")

</div>

I usually thoroughly debug/test my non-Genie code before starting to implement the `Genie` routes.

Please notice that your `Genie` app can be started using the `dev` environment - which will produce detailed logs when errors are encountered: in my experience, that is enough to track things down and isolate/fix the error (again - provided that the non-Genie/upstream code is bug-free).

If you want to debug Genie-related code/routes in an interactive way using `Debugger.jl`, you can consider running Genie in an interactive environment as shown [here](https://genieframework.com/docs/genie/guides/Interactive-environment.html).
