更新 .devcontainer/devcontainer.json
All checks were successful
CI Pipeline / build (push) Successful in 2s

This commit is contained in:
2025-12-14 11:21:00 +00:00
parent 81cf13d762
commit 76c53e83d1

View File

@@ -1,7 +1,7 @@
{
"name": "DevContainerExample",
"image": "mcr.microsoft.com/devcontainers/base:dev-ubuntu-20.04",
"postCreateCommand": "gcc -v",
"postCreateCommand": "sudo apt-get install -y gdb",
"customizations": {
"vscode": {
"settings": {
@@ -20,5 +20,6 @@
"onAutoForward": "notify"
}
},
"postAttachCommand": "make"
"initializeCommand": "gdb -ex 'set confirm off' -ex quit", // 初始化GDB配置
"postAttachCommand": "make debug"
}