开发者

Debug servlets with eclipse (running resin)

开发者 https://www.devze.com 2022-12-21 07:22 出处:网络
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 c

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消