Two simple tools to use for use in debugging.
Remember these will impact performance if used on large grids as they draw text in the scene view.
Draw cell positions
Checking this will enable you to view the centre position of each cell, and ultimately the position that is being checked to see if the cell is empty or not.
Draw grid positions
Checking this will enable you to view each point created on the grid.