With remote server started in debug mode, the console shows this when I try to connect to it:
Debugger failed to attach: handshake failed - received >Content-Length< - expected >JDWP-Handshake<
Does anyone has the same problem?
Thank you for the help by the way.
Hi everyone,
I'm trying to debug some custom application deployed in JBoss EAP. My setup for it is like so:
JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"
./standalone.sh --debug
{ "version": "0.1.0", "command": "mvn", "isShellCommand": true, "showOutput": "always", "suppressTaskName": true, "tasks": [ { "taskName": "clean package", "args": [ "-Plocal-deploy", "clean", "package", "wildfly:deploy" ], "isBuildCommand": true } ] }
{ "name": "Debug JBoss", "type": "java", "request": "launch", "stopOnEntry": true, "cwd": "${fileDirname}", "startupClass": "${fileBasename}", //"jdkPath": "${env:JAVA_HOME}/bin", "jdkPath": "/usr/local/java/jdk1.8.0_102/bin", "options": [ "-classpath", "\"${fileDirname};.\"" ], "externalConsole": true, "debugServer": 8787 }
With remote server started in debug mode, the console shows this when I try to connect to it:
Debugger failed to attach: handshake failed - received >Content-Length< - expected >JDWP-Handshake<
Does anyone has the same problem? Thank you for the help by the way.