更新 .devcontainer/devcontainer.json
All checks were successful
CI Pipeline / build (push) Successful in 2s
All checks were successful
CI Pipeline / build (push) Successful in 2s
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user