# Debugging Modules

**URL:** <https://forum.inductiveautomation.com/t/debugging-modules/4083>\
**Category:** Module Development\
**Created:** [February 29, 2012, 4:27pm UTC](https://forum.inductiveautomation.com/t/debugging-modules/4083 "2012-02-29T16:27:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bloeper](https://avatars.discourse-cdn.com/v4/letter/b/ac91a4/32.png) [@bloeper](https://forum.inductiveautomation.com/u/bloeper)\
**Post date:** [February 29, 2012, 4:27pm UTC](https://forum.inductiveautomation.com/t/debugging-modules/4083/1 "2012-02-29T16:27:06Z")

</div>

Is it possible to launch modules in debug mode within an IDE such as Eclipse? It’d be nice to step through code instead of relying on log4j to figure out what’s going on.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 29, 2012, 4:46pm UTC](https://forum.inductiveautomation.com/t/debugging-modules/4083/2 "2012-02-29T16:46:39Z")

</div>

Sure is!

All you need to do is uncomment the following lines under “Java Additional Parameters” in ignition.conf (and restart the gateway):

```auto
#wrapper.java.additional.8=-Xdebug
#wrapper.java.additional.9=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
```

At this point, if you’re already familiar with how to do remote debugging with Eclipse you’re good to go. If not, check out [this arcticle](http://javarevisited.blogspot.com/2011/02/how-to-setup-remote-debugging-in.html) and let me know if you have any questions.
