PlayFramework: Run and Debug Using IDE


I think each of us looking for the best IDE and best way of development. I think the best code editor is IntellJ IDEA and I am using it for 6 years. A few month ago I’ve started to use PlayFramework and were surprized that there is no way to debug application using IDE just browser and console logs and messages. After short investigation I’ve found solution …


This step-by-step solution for IntellJ IDEA but I think you can use it for other IDEs.

Go to  Run/Debug Configurations and add Application configuration

Step 2
Put  main class


Step 3
Add VM Options

-Dapplication.path=<Path to your application>

-Djavaagent=<Path to play framework>/play-1.2.3.jar

And that is all…


Leave a Reply

Your email address will not be published.