change all console.debug to console.log

we were getting an error message from Firefox 3: "console.debug is not a function"