简体   繁体   中英

Setting up remote debugging

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»

我的配置

Configuration looks correctly, so there are two options why it is not working:

  1. You try to connect to the wrong debugging port of your server. If you run Tomcat check JPDA_ADDRESS that responsible for debugging mode.
  2. 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM