awesomium/awesomium-pub

Allow console.log to output to the remote debugger

Opened this issue · 0 comments

I understand that in some cases, it's useful to have direct programmatic access to console messages that WebViewListener::View::OnAddConsoleMessage provides, in most cases you only care about them while debugging, so having access to them through the remote debugging console would be much nicer; not to mention being able to examine non-string messages; "[object Object]" is not useful at all.

Ideally, console.log would output to both the remote debugger and trigger an OnAddConsoleMessage event, but even a WebConfig option to toggle between the two behaviors would be great!