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 ...
Connect all your configuration files and autogenerate code—Jsonnet is the missing piece for large code bases.