Is there a way to debug code in Setup? Trying to use a for

But why byte? Is that becaouse it uses less memory? If not why?

Yes, why consume a 16 bit int to hold a 6 bit number? And it's a good habit to make you think about the size needed for a variable instead of blindly using int for small numbers.