NAME
js-console.pl - send STDIN to the Javascript Console
SYNOPSIS
tail-console.pl -f
Options: --clear Clear console before receiving new messages --follow Read more messages as they are being added --mozrepl connection string to Firefox
OPTIONS
- --clear
-
Clear the console before sending the text.
- --follow
-
Keep watching the console and output text as it gets added.
- --mozrepl
-
Connection information for the mozrepl instance to use.
DESCRIPTION
This program reads messages from the Error Console and sends them to STDOUT.
SEE ALSO
https://developer.mozilla.org/en/Error_Console
https://developer.mozilla.org/en/nsIConsoleService - the underlying Console Service that also shows how to listen to events getting added.