Initial commit from https://devstar.cn/lat5211/base.git ( ed411359a0b35dccda674d15913e38a24a6d006b )

This commit is contained in:
2025-10-24 02:54:28 +00:00
commit 093eceb323
14 changed files with 592 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{
"name": "DevContainerExample",
"image": "mcr.microsoft.com/devcontainers/base:dev-ubuntu-20.04",
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y gdb && make",
"customizations": {
"vscode": {
"settings": {
"debug.onTaskErrors": "debugAnyway"
},
"extensions": [
"ms-vscode.cpptools"
]
}
},
"portsAttributes": {
"3000": {
"label": "Web Server",
"onAutoForward": "notify"
}
},
"initializeCommand": "gdb -ex 'set confirm off' -ex quit", // 初始化GDB配置
"postAttachCommand": "make debug"
}