made debug feature via cs protocol