How can I print a message to the error console, preferably including a variable?
For example, something like:
print('x=%d', x);
Install Firebug and then you can use console.log(...) and console.debug(...), etc. (see the documentation for more).
console.log(...)
console.debug(...)
1.4m articles
1.4m replys
5 comments
57.0k users