def render(self, path, **context):
        """ Render a template with context. """
        funcs = self.functions
        ctx = dict(self.functions, jdebug=lambda: dict(
            (k, v) for k, v in ctx.items() if k not in funcs and k != 'jdebug'))
        for provider in self.providers:
            _ctx = yield from provider()
            ctx.update(_ctx)
        ctx.update(context)
        template = self.env.get_template(path)
        return self.env.render(template, **ctx)
Render a template with context.