WIP: karma debug log into a file