xeLL
xeLL

Reputation: 537

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»

My configuration

Upvotes: 0

Views: 2161

Answers (1)

Kyrylo Liubun
Kyrylo Liubun

Reputation: 2135

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

Upvotes: 1

Related Questions