This repository was archived by the owner on Aug 20, 2018. It is now read-only.

Description
@mohamnag, I thought you might like a full featured implementation of Chrome Dev Tools web-socket server that was inspired by your code, for which I am grateful. I spent two years working with logs for JavaScript debugging in WebView and had enough of that.
I needed a debugger and started with your code but could not get the jetty library to work in an IntelliJ plugin. Rewrote the implementation for https://github.com/TooTallNate/Java-WebSocket.
I was not satisfied with lack of real console or other Chrome Dev Tools features. I implemented fully functioning console and commandLineAPI using some JavaScript, Java and a proxy to compensate for WebViews missing implementation.
It does require a bit more code to get into WebView but not much considering you get full featured Chrome Dev Tools debugging. Including one click navigation to source from the console log.
Take a look at the Web View Debug Sample application for a working example. You can play with it and debug the embedded scripts before deciding whether you want to instrument your own application for Chrome Dev Tools debugging.
