Error with Debugger in SSH server (Java)
已回答
Hello everybody. I'm trying to run a debugger on a remote server, it starts giving an error after: "Starting Gradle Daemon ..."
ERROR: transport error 202: connect failed: Connection timed out
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
But, when I just try to run my Java application on a remote server (with the same settings) everything starts successfully. But the debugger itself does not work. Debian 10, JDK 8 is installed on the remote server.
I would really appreciate any ideas what could be the problem.
请先登录再写评论。
Check this suggestion: https://stackoverflow.com/questions/43540519/intellij-idea-cant-debug-because-transport-library-not-found-dt-socket
This solution did not help :(
Where do you see this error? In the IDE, or in the application?
Share the full idea.log and application's log right after reproducing.
You can use https://uploads.jetbrains.com/ for that.
After start project in debug

After that has error
Check if this helps: https://serverfault.com/a/393577
If not, share a sample project where it could be reproduced. This seems to be a project configuration issue rather than IDE-related.