Until a month ago, John Fore’s group of 17 Palo Alto, Calif., lawyers who specialize in debt financing were closing deals at a healthy clip.

Then the stock markets started to slide.