Get the debug symbol file pdb path for pe files
In general, if the compiler sets the debug symbol file, the debug field in the compiled PE file will contain this path, which we may notice in the general traceback analysis:
Use tools: pestudio
As shown in the following figure, after loading the file into the tool, look at the debug field and you can find the pdb path.
Note: this path does not necessarily exist.