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

Debug, like using debug prints?
In setup()?

Sure. Why not?

You've got fewer than 100 posts, so five minutes between posts. You could have tried it in five minutes.