Saturday, July 12, 2008

Enable remote debugging in Java

Use following arguments in front of your java command

-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

It will start remote debugging at port 5005. Now you can connect to this port using any IDE of Java

Sphere: Related Content

0 comments: