Log if debug === true

Maybe I'm mistaken, but I think it should log if debug === true.