zjunothing
zjunothing

Reputation: 61

How to debug spring cloud dataflow deployed app

im using spring cloud data flow local server deployed my stream apps. i want to using intelliJ remote debug one of my app

Upvotes: 5

Views: 882

Answers (1)

Hau Mi
Hau Mi

Reputation: 11

I was able to use deployer.<myapp>.local.javaOpts=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 as a deployment property.

I had to put it in properties file and use --propertiesFile when deploying the stream in CDF shell, e.g. stream deploy --name myStream --propertiesFile streamDeploy.properties. I was not able to pass this property using --properties or in CDF web ui.

Upvotes: 1

Related Questions