I have split Scala/SBT project into several sub-projects. One of the subprojects is Play Framework web application.
After this change I'm struggling to start the application in debug mode. I am able to run it in the following way:
$ projects
[info] In file:/my/project/
[info] * root
[info] actors
[info] test
[info] ui
$ project ui
$ projects
[info] In file:/my/project/
[info] root
[info] actors
[info] test
[info] * ui
$ run
This doesn't open JPDA port for debugging though. What is the way to start a subproject in debug mode?
runthe ui project withui/run. Read Scope axes. - Jacek Laskowskiplay debug. Thank you for the hinting me with the scope axes, it looks like the solution I was looking for. - Bartosz Jankiewiczplay debug. You should be able to doui/debug. - Jacek Laskowskiplay ui/run java.lang.RuntimeException: */*:playRunHooks is undefined. at scala.sys.package$.error(package.scala:27) [trace] Stack trace suppressed: run last ui/compile:run for the full output. [error] (ui/compile:run) */*:playRunHooks is undefined. [error] Total time: 92 s, completed May 14, 2014 6:51:54 PM- Bartosz Jankiewicz