code: function wrapDebug (rule, id, atok) {
    rule._test = rule.test
    return function (buf, offset) {
      atok.emit_debug( 'SubRule', id, arguments )
      return rule._test(buf, offset)
    }
  }
docs: Set debug mode on/off
  
  @api private