mobileConsole demo

MobileConsole is a script I wrote that extends the browser's (JavaScript) console to a visual console (in HTML). Which is very useful when debugging on a mobile device with no on-screen local debugger/console access.

To see how it works, use the buttons below to trigger regular console events, and watch mobileConsole handling them. You can also open your Web Inspector's console, to see what is happening over there.

MobileConsole is configured to run automatically on mobile devices, and can be manually initiated with mobileConsole.init();, as is the case on this demo-page.

Console input / commandline

As of v0.5, mobileConsole features a console input (bottom field, with the >), in which you can execute your own scripts, set and check variables, etc. Just like in a regular debugger. Command history is stored (in session storage, if available) and can be recalled using up and down arrows, or using an autocomplete-based pop-up on mobile devices.




© 2016 hnldesign