Setting
1. Open Websphere admin console with systemmanager/systemmanager, go to servers->application servers->server1, click Debugging Service, enable the debug service as follows:
Remember the port default is 7777.
1. Open Eclipse with PoC-R workspace, change to Debug perspective and choose Run->Open Debug Dialog…, new a remote debugging application:
Remember the port should be set to 7777.
Debugging
Set a break point to any code line.
Open Web browser and try to run through the break point , the break point will catch the execution and debug is possible:
F5 to step into, F6 to step over, F7 to step return, and ctrl-R to run to line.
After debugging, choose disconnect, exit eclipse, log out from Web browser, stop websphere