By default, WebSphere didn't enable remote debug service, we need do follow step to active service
1.Enable WebSphere Server Debug Service
2.Setup Eclipse remote debug with port 7777
Step by step on VM server(you can change a little and works fine on local):
* Login to WebSphere admin console use root/root:
https://localhost:9043/ibm/console
On Configure Tab, click debug service on bottom:
- Select Servers->Application servers-> server 1
- On Configure Tab, click debug service on bottom:
- Check Enable service at server startup and add all filter to right. Click Apply.
- Click save and restart server
After above is done, we can config eclipse to do a remote debug on port 7777. Make sure use EAR project to debug.