Fix start-debug for a very subtle bug when run in parallel.