I'm not able to run play project in debug mode in intellij IDE community edition. I've followed the instructions Play Framework setting up IDE page, and did not manage to catch any breakpoint from the IDE, I've also tried the answers here, here and here, and still nothing worked.
Running activator -jvm-debug 9999 run
from the console started the project, then running a remote debugging session on port 9999 from intellij also seemed to work, but breakpoints were not stopping the session at all.
I'm using Play Framework 2.4 and Intellij community edition 15.
SOLVED IT!
The reason breakpoints were not stopping on the IDE was because I a fork command at the end of my build.sbt file:
fork in run := true
As I deleted this line, everything worked as I expected.
No reason the community edition of intellij won't be able to debug a simple play application. This answer was very helpful for everyone who gets lots in his way to setting up a simple environment to develop and debug Play Framework application.
Support for Play Gramework (and for other famous frameworks) is available for Ultimate version of IntelliJ Idea and that's obvious.
Guys from JetBrains does great job and they just need some kind of gratification for it!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With