How to make the debugging in playframework in IntelliJ Idea

后端 未结 9 2074
鱼传尺愫
鱼传尺愫 2020-12-07 17:19

Here we have a link

http://www.playframework.org/documentation/1.0.1/ide

about how to configure playframework to be working with different IDEs. There they

相关标签:
9条回答
  • 2020-12-07 17:43

    I had to change this line in my build.sbt from:

    fork in run := true

    to

    fork in run := false

    for the breakpoints to work in IntelliJ IDEA 15.0 with the Play 2 App run configuration.

    0 讨论(0)
  • 2020-12-07 17:44

    my fix was: open the "Run/Debug Configurations" dialog, then change the "working directory" to the project directory.

    0 讨论(0)
  • 2020-12-07 17:45

    With an SBT project, you can debug from the IDE debugger with an SBT Task configuration (Run->Edit Configurations-> Add New Configuration->SBT Task) - with the Tasks setting set to:

    "run 9000" "-jvm-debug 9999"

    9000 is the site port, 9999 is the default debug port. The quotes are required

    Then select the configuration & debug

    Works with the community edition (2016.2)

    0 讨论(0)
提交回复
热议问题