Hi
I have JBoss 4.0.1sp1 running on MacOSX 10.3. I have added the JAVA_OPTS for remote debugging
# DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" JAVA_OPTS="${DEBUG_OPTS} ${JAVA_OPTS}" # export JAVA_OPTS #
OK, if you just use the debug parameters specified in the releases run.bat sans suspend=y it works fine :-)
But I also realized that telneting to the port first ties it up, so don't do this and then try a debug session without restarting JBoss