JavaScript: How do I print a message to the error console? September 16, 2022 by Tarik Install Firebug and then you can use console.log(...) and console.debug(...), etc. (see the documentation for more).