How to make the debugging in playframework in IntelliJ Idea

后端 未结 9 2099
鱼传尺愫
鱼传尺愫 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条回答
  •  旧时难觅i
    2020-12-07 17:34

    If its a play project, from the command line :

    play debug
    

    If its a SBT play project from the command line :

     sbt -jvm-debug 9999 run
    

    debug port is 9999 by default

    now create a remote configuration

    in IntelliJ :

    Go to "edit run configurations"

    enter image description here

    Create a new remote configuration (port 9999, all other details leave with default values)

    enter image description here

    run the new debug configuration (don't forget to put a break point)

提交回复
热议问题