Debug servlets with eclipse (running resin)
I am using eclipse (Java EE edition) to write Java servlets and I would like to utilize the debugging functionality. However, I was reading the tutorial to set this up and when I got to the stage the choose a "Server Runtime Environment", I got stuck. I am using Resin, which does not appear to be in t开发者_Go百科he list of available server runtimes. Is there any way to get around this? Is the debugging unusable with Resin?
You will need to run your server in a remote debug mode:
http://wiki.caucho.com/IDE#Remote_Debugging
After that connect your eclipse to the server by choosing debug configuration -> new remote java application (in which you will need to insert the address and the port of the server.
This concept is valid to pretty much all type of servers.
精彩评论