简体   繁体   中英

how to debug play framework 2.5 in eclipse

Enviroment OS : OS X EL Capitan IDE: Luna Release (4.4.0) Activator : activator-dist-1.3.10. My step. --> But at the last step, I can't connect to vm. Wating for vm connect at port 999. Please help me ! 运行服务器

运行项目

调试设置

但是连接到VM的时间很长

在调试配置中,必须将“ Connection Type设置为“ Standard (Socket Attach) (在屏幕快照中,选择“ Standard (Socket Listen)

open your eclipse Navigate to Help->eclipsemarketplace Search scala Then install two plugins:-
1) ScalaStyle 0.7.0
2) Scala Ide 4.2.x
run below command in console from your project directory Note: before debug first run this command
activator -jvm-debug 9999 run
now right click on project go to
Debug as -> debug configuration click new and insert project name
set port number to 9999
now select Scala debugger(socket attach) (Scala debugger will come only if you have installed those plugin mentioned above) from dropdown and click on debug

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM