in the file: ${jboss-home}/bin/run.bat, add below command:
set JAVA_OPTS= -Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=8787,
server=y, suspend=n %JAVA_OPTS%
Create a new Remote Java Application In Eclipse and set up the connection.
Add java exception breakpoint.
Visit your application by open a browser.
set JAVA_OPTS= -Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=8787,
server=y, suspend=n %JAVA_OPTS%
Create a new Remote Java Application In Eclipse and set up the connection.
Add java exception breakpoint.
Visit your application by open a browser.