If you want debug your app on mobile device with no console.log
you can use this module to create it
console.log(1);
console.log("2");
console.log([1, 2, 3]);
console.log(window);
<script type="text/javascript" src="https://rawgit.com/wtfil/mobile-console/master/console.js"></script>