How to debug in Eclipse with webshpsere

Go to http://localhost:8091/ibm/console/, login in.

Servers->Server Types->WebShpere application servers->server1
Additional Properties->Debugging service
Check "Enable service at server startup"
Check "JVM debug port", usually it's 7777, this is the port number that you will use.
Click Apply, then click Save directly to the master configuration.
A restart on WebShpere is needed.

In Eclipse, Run->Debug Configurations->Remote Java Application
Create a new Debug Configuration, make sure host as localhost, and port as 7777, also attach source.