I am trying to use VisualVM to profile my scala application. I have added the Go To Source plugin for VisualVM but of course it will only recognize Java code. Is there a way I can specify in my project build that it should also output the interim java code?
I know I can use the following command to do it at a file level:
scalac -Xprint:parse Main.scala
But is there a way I can generate all the java code for a project to a specific directory?