Add Windows compatibility for test debugging with pdb.