Debug search and replace.