# How to debug the program of Ignition-ModuleSDK?

**URL:** <https://forum.inductiveautomation.com/t/how-to-debug-the-program-of-ignition-modulesdk/3580>\
**Category:** General Discussion\
**Created:** [November 10, 2011, 9:42am UTC](https://forum.inductiveautomation.com/t/how-to-debug-the-program-of-ignition-modulesdk/3580 "2011-11-10T09:42:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wengzijue](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Post date:** [November 10, 2011, 9:42am UTC](https://forum.inductiveautomation.com/t/how-to-debug-the-program-of-ignition-modulesdk/3580/1 "2011-11-10T09:42:41Z")

</div>

I have downloaded the Ignition-ModuleSDK, How to debug the program of Ignition-ModuleSDK? (to see the value of varible when the program is running),Thank you.

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [November 10, 2011, 5:53pm UTC](https://forum.inductiveautomation.com/t/how-to-debug-the-program-of-ignition-modulesdk/3580/2 "2011-11-10T17:53:08Z")

</div>

Hi,

First off, enable Java remote debugging for Ignition. To do this, edit the “ignition.conf” file found in “{Install Dir}\data”, and un-comment the two following lines:

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

Restart the Ignition gateway.

Now, you can set up Remote Debugging in Eclipse. Just create a new Remote Debug launch profile, and select your module as the project.

Hope this helps,
