Log cursor execution, display cursor object in cursor debug messages.