在调试配置中,必须将“ 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.