client code debugging