private void getPDBFiles(File parentDir, List<File> foundFiles) {

		for (File childFile : parentDir.listFiles()) {
			if (childFile.isDirectory()) {
				getPDBFiles(childFile, foundFiles);
			}
			else {
				if (childFile.getName().endsWith(".pdb")) {
					foundFiles.add(childFile);
				}
			}
		}
	}
Asks user for a single .pdb file or a directory that contains .pdb files (search for
files is recursive).

Parses each .pdb file and creates a corresponding .pdb.xml file in the same location as
the original file. The .pdb.xml files can be used to apply debugging information when
running Ghidra on non-Windows systems.

This script can only be run on Windows and using the headed (GUI) version of Ghidra.
Ghidra/Features/Base/ghidra_scripts/CreatePdbXmlFilesScript.java