Ask Your Question

How can I run the projects with eclipse?

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

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

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

jeff gravatar image

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

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


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

Seen: 358 times

Last updated: Apr 16 '18