Right off the bat, I can think of one way to do this.
In Photoshop, make your grid visible:
View --> Show --> Grid
Set your grid setting to something small in Preferences:
Preferences--> Guides, Grid, Slices, & Count... --> Grid: Gridline every: 10 pixels(or whatever)
Set "snap to...