1. Did you start the http task in debug mode? You need to add the following 2 ini variables
JavaEnableDebug=1</div>
JavaDebugOptions=transport=dt_socket,server=y,suspend=n,address=8000</div>
If all goes well, you should see the following message in the server console log:
Listening for transport dt_socket at address: 8000
2. Make sure that you use the same port number in the Eclipse debug configuration (in the above example it's 8000)
JavaEnableDebug=1
JavaDebugOptions=transport=dt_socket,server=y,suspend=y,address=8000