Mac OS: Catalina 10.15.7
Steps to reproduce problem:
Install Xcode and vs code in Mac.
Install c++ extension in vs code.