Mac OS下使用VS Code对C++程序进行debug的配置 参考:https://blog.youkuaiyun.com/YangZuo_Chester/article/details/80644226 很有启发。