Hi,
I'd like to debug scala sbt playframework web application.
Steps:
1) start with sbt workspace,
2) import required application files,
3) set proper sbt, scala compiler etc.,
4) in terminal start application using sbt -jvm-debug 5005 - application starts,
5) from slickedit starts scala_debug (default option for debugging in build tools),
6) slickedit tires to connect with pydbg to local host on random port. It takes 30 sec.,
7) timeout connection error occurs,
slickedit changes perspective to debug and immediately returns to editor perspective with bad socket error.
I tried also different way via scala_attach macro or attach to jvm... from debug menu with host: localhost, port: 5005.
My question are:
- why does slickedit use pydbg connection?
- why does it set random port even if I set it explicitly?
- is something wrong with my steps maybe?
- how can I attach debugger to 5005 for my web app?
I noticed also, when I use sbt workspace template and other template for same project with same project settings (other is set manually),
sbt workspace gives me chance to set breakpoints, but other template does not.
I mean that project set with other workspace template returns errors, that it is not possible to set breakpoints because files are not in source.
Thank you.