public static Observable<Boolean> writeDebugRequest(
            SessionContext context, HttpRequestInfo request, boolean isInbound) {
        Observable<Boolean> obs = null;
        if (Debug.debugRequest(context)) {
            String prefix = isInbound ? "REQUEST_INBOUND" : "REQUEST_OUTBOUND";
            String arrow = ">";

            Debug.addRequestDebug(
                    context,
                    String.format(
                            "%s:: %s LINE: %s %s %s",
                            prefix,
                            arrow,
                            request.getMethod().toUpperCase(Locale.ROOT),
                            request.getPathAndQuery(),
                            request.getProtocol()));
            obs = Debug.writeDebugMessage(context, request, prefix, arrow);
        }

        if (obs == null) {
            obs = Observable.just(Boolean.FALSE);
        }

        return obs;
    }
Adds debug details about changes that a given filter made to the request context.
@param filterName
@param copy
zuul-core/src/main/java/com/netflix/zuul/context/Debug.java