How to remotely debug step by step

firstime firstime
Added almost 5 years ago

In tigase server 5.1.0, I can remotely debug the source code step by step with Eclipse through adding following command in scripts/

DEBUG_CMD="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000"

Then, How can i do it over tigase server 5.2.0 ? Thanks a lot !

Replies (2)

Added by Wojciech Kapcia TigaseTeam almost 5 years ago

Doesn't this work with the 5.2.0? It should, but you should also include those in JAVA_OPTIONS@. Can you share your whole @tigase.conf file?

Added by firstime firstime almost 5 years ago

Thanks, I got it that i forget to add DEBUG_CMD into TIGASE_CMD.