I’ve found debugging my JavaScript projects much easier since using the Firebug add-on for Firefox, but more specifically outputting to the Firebug console. It’s as easy as this: var myVar = 42; console.log(‘my variable: ‘ + myVar); This will output ‘my variable: 42‘ to the Firebug console, just like using System.out.println() in Java. There are […]
