Debugging with codelldb on windows

When following this debug crystal in vscode via codelldb, it doesn’t seem to correlate the pdb file with the exe file. if I add
“stopOnEntry”: true to the launch.json file and do breakpoint list , no locations are found. If I do the following in debug prompt:

(lldb) add-dsym bin\nearest_hospitals.pdb

it then finds the breakpoints and I am able to step through the code. Any clues on why it doesn’t find and load pdb file without my adding it from debug prompt?