I\'m used to debugging JavaScript in Chrome or Firefox just because their built in developer tools are a lot cleaner than IE\'s. IE8 came along way with the Developer Tools bein
You might want to try:
console.log(JSON.stringify(foobarObject));