Debugging for the kwest library