I've started a discussion about the future of Rangy. There is an official Rangy package for Bower with Rangy 1.2 and 1.3 versions, called rangy.
debug exposes a function; simply pass this function the name of your module, and it will return a decorated version of console.error for you to pass debug statements ...