There's no eclipse folder in project folder after 'play eclipsify'. How to debug this project use eclipse with JPDA?
11
votes
Have you tried refreshing your project in Eclipse (right-click on the project and then just click on the refresh menu)? Sorry, I have never tried it but it looks like it may just be it.
- Guillaume Polet
Yes, but the problem is that I don't know how to connect to JPDA in eclipse to connect to the server. In 1.24 playframework, there is a debug launcher file in the project after "eclipsify".Thanks anyway
- fxp
5 Answers
25
votes
13
votes
Exactly as fxp has said, in play 2.2.x you should do the following:
- Type in the play console play debug run
- In eclipse, right click over your project and go to Debug As, and then click on Debug configurations..
- In Debug configurations screen, go and click to Remote Java Application.
- Put 9999 in the port input text (*)
(*): when you execute play debug run, look the print information for the port number. Probably the first message will be
Listening for transport dt_socket at address: 9999
3
votes