I just moved from Netbeans to Eclipse. In Netbeans, I can debug Playframework applications out of the box. However, in Eclipse, it seems hard to configure this in order to debug
First of all, you have created the configuration files for Eclipse by using the play eclipsify YourProject
command, right? (If not, see Play framework documentation for more information.)
After that, you should have a folder named eclipse
in your project. In it, you should see commands Connect JDPA to YourProject.launch
, YourProject.launch
and Test YourProject.launch
.
Right-click on the YourProject.launch
and choose Run As --> YourProject
from the pop-up menu. That will start your application. When the application is running, right-click on the Connect JDPA to YourProject.launch
, and choose Debug As --> Connect JDPA to YourProject.launch
from the pop-up menu. That will start a debug session on your application.