Ask Your Question
0

How can I run the projects with eclipse?

asked 2017-12-14 23:57:35 -0600

jbhou gravatar image

I want to debug the datacollector with eclipse,would you mind tell me how can I do it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-04-16 13:37:51 -0600

jeff gravatar image

updated 2018-04-16 13:37:58 -0600

Add the following property to your SDC_JAVA_OPTS before starting Data Collector. This will expose remote debugging on port 19127 (feel free to replace with your own value).

export SDC_JAVA_OPTS="${SDC_JAVA_OPTS} -agentlib:jdwp=transport=dt_socket,server=y,address=19127,suspend=n"

Then, in your IDE, you want to set up a new Remote debug configuration. Point to localhost (assuming you're running Data Collector on the same machine) and give this port, and launch.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-12-14 23:57:35 -0600

Seen: 76 times

Last updated: Apr 16