Residents of the suburban neighborhood watched from their living rooms as a gunman began shooting at police.