what does java give you? (or jvm type technologies)

It gives you a debugging entry point, at a level which is much deeper than inline print "$myvar" crap, and above that of the pages of syscalls verbiage which is underlying scripting implementations.

And you get all the associated JMX, Heap and thread dumping tools to use whatever the language ie Java, Scala, jruby, jython or groovy etc.