Total Visitors

Monday, November 18, 2013

Enabling Debug Facility in JBoss7 AS.

Go to bin/standalone.conf.bat of JBoss 7 AS:-

Inside this file just remove the rem from the below given line:

rem # Sample JPDA settings for remote socket debugging
set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"

Then if you are using eclipse as an IDE do the following steps:-
1) Go to Debug configuration
2) Go to Remote Java Application
3) Assign Port: 8787
4) Give your desire Project name and Enjoy!

1 comment: