How can I use remote debugging with JBoss? Is there any docs about it? Which port does Jboss use for this purpose?
Remote debug is a JVM thing.
Look at the docs for JPDA in the sdk. This will
tell you what options to pass to the JVM.