设置远程调试(Setting up remote debugging)
我需要帮助来设置远程调试。 能否请您提供如何操作的说明? 我正在使用IntelliJ IDEA。
配置端口和主机后出错:
Error running liferay: Unable to open debugger port (localhost:8080): java.io.IOException "handshake failed - connection prematurally closed»
I need help in setting up remote debugging. Could you please provide me instructions on how to do this? I’m using IntelliJ IDEA.
I get an error after configuring port and host:
Error running liferay: Unable to open debugger port (localhost:8080): java.io.IOException "handshake failed - connection prematurally closed»最满意答案
配置看起来正确,因此有两个选项可以解决它的原因:
您尝试连接到服务器的错误调试端口。 如果运行Tomcat,请检查负责调试模式的JPDA_ADDRESS 。您只需在非调试模式下运行服务器。 如果你像这样使用Tomcat启动服务器:
在窗户上
$ catalina.bat jpda start
在Linux / Unix上
$ catalina.sh jpda start
Configuration looks correctly, so there are two options why it is not working:
You try to connect to the wrong debugging port of your server. If you run Tomcat check JPDA_ADDRESS that responsible for debugging mode.You just run your server in not debugging mode. If you use Tomcat start server like this:
On windows
$ catalina.bat jpda start
On Linux/Unix
$ catalina.sh jpda start
更多推荐
发布评论