Install Firebug and then you can use console.log(...)
and console.debug(...)
, etc. (see the documentation for more).
More Related Contents:
- How can I debug my JavaScript code? [closed]
- Chrome/Firefox console.log always appends a line saying ‘undefined’
- How can I make console.log show the current state of an object?
- How do you launch the JavaScript debugger in Google Chrome?
- How do I debug Node.js applications?
- How to quickly and conveniently disable all console.log statements in my code?
- Why is console.log() considered better than alert()?
- Is it possible to override JavaScript’s toString() function to provide meaningful output for debugging?
- Breakpoint on property change
- How to set a JavaScript breakpoint from code in Chrome?
- Using Chrome, how to find to which events are bound to an element
- JavaScript: Is there a way to get Chrome to break on all errors?
- How to make Google Chrome JavaScript console persistent?
- How to set breakpoints in inline Javascript in Google Chrome?
- Debugging scripts added via jQuery getScript function
- Common sources of unterminated string literal [duplicate]
- JavaScript data formatting/pretty printer
- Intercept calls to console.log in Chrome
- How to show full object in Chrome console
- Break on a change of variable value
- console.log.apply not working in IE9
- Is there something like “Firebug for IE” (for debugging JavaScript)?
- How to go about debugging JavaScript in the HtmlService in Google Scripts
- Chrome debugging – break on next click event
- Get rid of [dynamic] JavaScript views in Visual Studio
- JavaScript Troubleshooting Tools in Internet Explorer
- Mobile Safari on iOS crashes on big pages
- How to debug identical strings that do not equal in google app script?
- How do I find which JavaScript is changing an element’s style?
- How to replace Javascript of production website with local Javascript?