Reputation: 763
I have a stand alone Java application with Embedded Jetty( It launches Jetty and prior setting Web context to a war file( which is a web service). How do I debug this from my Eclipse. I can debug the application itself all right, up to the point that Jetty is launched, but after that the moment of Web Service invocation or even launching ? Regards
Upvotes: 2
Views: 1557
Reputation: 51
This solution will work for RestFul webservice created with multi module maven project 1. Go to Run > Debug Configurations 2. Choose Java Application, right click and click on new 3. Give any suitable name, 4. In Main tab, for Project, give project name which contains your main method, Under Main Class, give class name which contains your main method 5. in Arguments, give your argument name like you provide from command line click on apply and press on debug button
Upvotes: 1