Не поможет ли отладчик Scala (REPL) для отладки? Прохладный способ проверить ваш код можно через sbt REPL.
1. sbt
2. console
3. scala ( for Scala REPL ); [cntrl d] to get back to sbt REPL
4. compile
5. test, if you have unit-tests to test code
6. run If one has an object with a main method (or an object extending
the trait App