How to debug the program of Ignition-ModuleSDK?

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.

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,