debug motion