Skip to content

Javascript tool to runtime capture console logs on mobile

License

Notifications You must be signed in to change notification settings

jonnypaes/console.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Console.js

Read console calls on your mobile with this simple tool.


Contents


Description

Have a front-end console capture tool, to check errors in your mobile

Simply add 'true' to a console param in the URL and it's done.


Import

You can host on your server and call it inside the <head> tag:

<script src="console.js"></script>

Or you can import from a third-party (GitHub) inside the <head> tag:

<script src="https://jonnypaes.github.io/console.js/console.js"></script>

Activate

Simply add ?console=true at the end of the URL and you will trigger the console.

https://jonnypaes.github.io/console.js/?console=true

Try it here


State

Done ✅

  • Show file content inside a virtual object
  • Highlights the line inside the virtual object
  • Capture logs from header and body

Partially Done ⚠️

  • Error stack parser kinda buggy
  • Fix odd behavior of touch API (move)

About

Javascript tool to runtime capture console logs on mobile

Resources

License

Stars

Watchers

Forks