Just released a full featured JavaFX WebView to Chrome Dev Tools MIT licensed library JavaFx WebView Debugger and a working sample application Web View Debug Sample to show how to make it work in your implementation.
I was doing log based script debugging in WebView for two years. It is slow and tedious. Having a real debugger, console log with one click navigation to source and commandLineAPI makes working with JavaScript in WebView a joy.