Debugging for depth