Java remote debugging (JPDA) not working for me in Tomcat 9

后端 未结 3 680
失恋的感觉
失恋的感觉 2021-01-21 07:50

I\'m trying to remotely debug a Tomcat webapp on a recently upgraded Tomcat 9.0.13 and Open JDK 11.0.1. Server is Redhat Enterprise Linux 7.6 and I\'m using Eclipse on a Window

3条回答
  •  悲&欢浪女
    2021-01-21 08:53

    I had similar issue running Tomcat 9 in docker. I specified the JPDA_ADDRESS in the docker build to allow access from any host:

    ENV JPDA_ADDRESS=8000 CMD ["catalina.sh", "jpda", "run"]

提交回复
热议问题