add @debug() to main.scala.html for calling function