不要点状态栏里的 瓢虫调试 和 transformation,不好用,按如下步骤点击:
- Cmake:debug:就绪 =terminal中 cmake.
- 生成 =terminal中 make
- 生成launch.json, 把程序名输进去 “program”: “${workspaceFolder}/build/Transformation”,
- F5或者第一步位置有个 lldb启动 debug,在debug console看结果
注: 不用装多余的lldb调试插件,各种非自动推荐的东西,只需要1.c/c++ 2.c++intellisense 3.cmake 4.cmake tools 就可以了