Whenever I wire for a 3-way, or 4-way lighting set-up, I always bring the feed and switch leg to the same box so at the end of switching it'll be a dead end. Doing it this will simplify any troubleshooting that needs to be done later.

Of course, sometimes because of box fill it can't always be done this way. If that's the case, I feed at the light box and bring down (2) 3-wire dead ends to each switch location.

As far as I know there are (4) ways to wire a 3-way switch design.