By default, remote debugging is not enabled. You can enable it - default port is 8787.
In the file standalone.conf.bat
in the <JBOSS_HOME>/bin
folder, just uncommnet the following line:
rem Sample JPDA settings for remote socket debugging
set "JAVA_OPTS=%JAVA_OPTS% -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"