JBoss Community

Re: Hello, new and need information: how to set up eclipse to run jboss servlet as stand alone for debugging

created by Wolf-Dieter Fink in Beginner's Corner - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community