resin远程调试(我使用的是resin-4.0.41版本):
第一步:
容器下配置文件conf/resin.xml
追加配置内容:
<jvm-arg>-Xdebug</jvm-arg>
<jvm-arg>-Xnoagent</jvm-arg>
<jvm-arg>-Djava.compiler=NONE</jvm-arg>
<jvm-arg>
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9998
</jvm-arg>
位置如图(http端口后方):
第二步:配置intellij idea resin(我使用的是11版本的编辑器)
选择resin的remote;
server配置:
Deployment配置:
Startup/Connection配置:
intellij idea 下resin容器远程调试
猜你喜欢
转载自jiandequn.iteye.com/blog/2338222
今日推荐
周排行