I am using the spring cloud dataflow server to create a stream. I want to do a remote debugging on the spring cloud dataflow server.
Below is the command which I am trying but not able to connect on 5005 port.
java -jar spring-cloud-dataflow-server-2.5.3.RELEASE.jar -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
Please refer to the guides that Sabby pointed for debugging applications and the SCDF/Skipper server in general. Apart from this, what I notice from your question above is you have the debug
parameters as java program arguments
which is incorrect.
What you actually need is something like this:
java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 -jar spring-cloud-dataflow-server-2.5.3.RELEASE.jar
The debug
parameters need to be passed before -jar
argument.