Debugging traccar-server code

ashutosh16 10 years ago

Hi Anton,

Thanks for this wonderful application and making it open source.

I am trying to learn the application -Code flow .I am using Intellij on Mac.I want to debug the code with one single transaction .However I am not able to find the jetty configuration file where I can provide remote debugging port .Do you have steps for debugging

Thanks for your support

Regards
Ashu

Anton Tananaev 10 years ago

Traccar is standard Java application, so you just put a breakpoint where you want and run the project. Why do you need remote debugging?

ashutosh16 10 years ago

Hi Anton,

Thanks for the reply.

True I can use Java application for debugging.However if I want to debug application running on aws.I am just curious how I can debug the remote server .It is only for learning purpose.

Regards
Ashutosh

Anton Tananaev 10 years ago

I have never tried that, but I guess you need to add some Jetty configuration manually. Jetty is configured from Java code, so there is no config file for it.