Debris disks as signposts of terrestrial planet formation