Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 389
zjunothing Avatar asked Nov 08 '22 02:11

zjunothing


1 Answers

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.

like image 139
Hau Mi Avatar answered Jan 04 '23 03:01

Hau Mi