How to run Play Framework 2.x in debug mode in IntelliJ IDEA?

前端 未结 4 1395
清酒与你
清酒与你 2020-12-13 11:15

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

4条回答
  •  攒了一身酷
    2020-12-13 11:31

    You need to use Idea 12+ Ultimate Edition

    • Install Play 2.0 Support, Scala and other required plugins in Idea
    • In command line perform play idea to generate project
    • Open created project in Idea (open, don't import)
    • Go to: Menu > Run > Edit Configurations... > Add New Configuration... > choose Play 2 App
    • In Menu > Run new buttons will appear Debug and Run, first will run app with enabled debbuger.

提交回复
热议问题