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.
1 Like
Sure is!
All you need to do is uncomment the following lines under “Java Additional Parameters” in ignition.conf (and restart the gateway):
#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 and let me know if you have any questions.
1 Like