Debug for loop.