public static Observable<Boolean> writeDebugResponse(
            SessionContext context, HttpResponseInfo response, boolean isInbound) {
        Observable<Boolean> obs = null;
        if (Debug.debugRequest(context)) {
            String prefix = isInbound ? "RESPONSE_INBOUND" : "RESPONSE_OUTBOUND";
            String arrow = "<";

            Debug.addRequestDebug(context, String.format("%s:: %s STATUS: %s", prefix, arrow, response.getStatus()));
            obs = Debug.writeDebugMessage(context, response, 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