- Modify /usr/local/jboss-epp-5.0.1/jboss-as/bin/run.conf
# Sample JPDA settings for remote socket debugging
The different debug parameters are:
Parameter | Description |
-XDebug | Enables debugging |
-Xnoagent | Disables previous debugging agent. |
-Xrunjdwp | Specifies the connection mechanism, the transport address, and server andsuspend values. |
- Create a debug job in Eclipse
Note that the same port 8787 is used
- Start the JBoss server.
- Start the debug job in Eclipse.
The remote network icon should be highlighted in red.
- setup a breakpoint and happy debugging!
No comments:
Post a Comment