add debug utility function
change debug to require Iron.utils.debug === true