Initial commit from https://devstar.cn/templates/base.git ( 2110c117966989f2d02afeb36f08481ed1c5d1b6 )

This commit is contained in:
2025-11-01 09:43:50 +00:00
repo.diff.commit e83265881b
repo.diff.stats_desc%!(EXTRA int=14, int=594, int=0)

repo.diff.view_file

@@ -0,0 +1,25 @@
{
"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",
"ms-azuretools.vscode-docker"
]
}
},
"portsAttributes": {
"3000": {
"label": "Web Server",
"onAutoForward": "notify"
}
},
"initializeCommand": "gdb -ex 'set confirm off' -ex quit", // 初始化GDB配置
"postAttachCommand": "make debug"
}