Debug Playframework in Eclipse

前端 未结 7 1657
庸人自扰
庸人自扰 2021-01-30 13:17

I just moved from Netbeans to Eclipse. In Netbeans, I can debug Playframework applications out of the box. However, in Eclipse, it seems hard to configure this in order to debug

相关标签:
7条回答
  • 2021-01-30 14:10

    I guess most of you are running the play framework with Typesafe Activator. If you are doing so, This may help you,

    1. activator -jvm-debug ~run

      Like : activator -jvm-debug 9999 ~run

    (then It will start the debugger in 9999 port along with the app running in 9000 port.)

    1. Now go to eclipse and right click on the project name you want to debug and select Debug As -> Debug configuration.. -> (select)Remote Java Application -> new (top left an icon with tiny plus sign) -> connect specify port 9999 and debug.
    0 讨论(0)
提交回复
热议问题