I want to run Play Framework 2.x in debug mode in IntelliJ IDEA. I searched in the Internet and all results say that you have to use play console.
Is it possible to
You need to use Idea 12+ Ultimate Edition
play idea
to generate projectFYI : All of the above fields might filled up already
Using activator :
Generate
Open Intellij IDEA
Preparation: Do not use the project creation by activator ui or similar. Just open the project in IntelliJ.
activator -jvm-debug 9999 ~run
. The ~
before run
enables automatic reloading of generated HTML pages9999
as port
Pro hint: Check out the play-auto-refresh plugin to have Chrome automatically reloading on a change.
(based on @ARM's answer)