The more I work, the less mentally demanding games I want to play to cool off. An online match of Street Fighter 4 after a long day of coding does wonders for taking your mind off bugs and backlogs.
Switching platforms also helps. Close the laptop, sit on the couch, turn on the xbox.