Must debuggers console.log allows you to use commas to sepreate multiple values
console.log('string: ', false); // string: false
Another great way to organize data is to use groups.
console.group("iteration" + i);
console.log("current time: ", new Date());
console.groupEnd("iteration" + i);
And if you are trying to do a test, most debuggers have assertions built in
console.assert(foobar < 100, "foobar is greater than 100");