# vscode-cpp-template **Repository Path**: tomatogitee/vscode-cpp-template ## Basic Information - **Project Name**: vscode-cpp-template - **Description**: vscode 中使用 c++ 的模板项目 - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-04-15 - **Last Updated**: 2023-04-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 调试运行 ## 方法 1 进入到左侧调试运行 tab,点击 "Debug cpp" 左侧的运行按钮 ## 方法 2 点击顶部【运行】菜单里边的【启动调试】或者【以非调试模式运行】按钮 > 或者使用对应的快捷键 `F5` 进行调试,`^ F5` 以非调试模式运行 ## 注意 ⚠️ 不支持点击文件右侧的调试按钮进行调试或者运行,需要自行额外配置 # 配置保存时自动格式化 ```jsonc // file: .vscode/settings.json { // other setting ... "[cpp]": { "editor.defaultFormatter": "xaver.clang-format" }, "editor.formatOnSave": true // other setting ... } ```