Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 eclipse(Java EE 版)编写 Java servlet,我想利用调试功能。但是,我正在阅读设置它的教程,当我到舞台选择“服务器运行时环境”时,我被卡住了。我正在使用 Resin,它似乎不在可用的服务器运行时列表中。有没有办法解决这个问题?Resin 不能调试吗?
您将需要在远程调试模式下运行您的服务器:
http://wiki.caucho.com/IDE#Remote_Debugging
之后,通过选择调试配置-> 新的远程 Java 应用程序将您的 Eclipse 连接到服务器(您需要在其中插入服务器的地址和端口。
这个概念几乎适用于所有类型的服务器。