You will find the following line in the bin/run.conf file
# Sample JPDA settings for remote socket debugging
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
if you uncomment the JAVA_OPTS the java process will open a socket for remote debuging.
In Eclipse you can set this in the Run/Debug configurations.
Eclipse will connect the remote JVM for debugging.
Also you need to have the source code attached in Eclipse.