Debug scala sbt target and fix pid stats