更新 .devcontainer/devcontainer.json
All checks were successful
CI Pipeline / build (push) Successful in 4s
All checks were successful
CI Pipeline / build (push) Successful in 4s
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "DevContainerExample",
|
"name": "DevContainerExample",
|
||||||
"image": "mcr.microsoft.com/devcontainers/base:dev-ubuntu-20.04",
|
"image": "devstar.cn/base/dev-base:latest",
|
||||||
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y gdb && make",
|
"postCreateCommand": "gcc -v",
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"settings": {
|
"settings": {
|
||||||
@@ -21,5 +21,5 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"initializeCommand": "gdb -ex 'set confirm off' -ex quit", // 初始化GDB配置
|
"initializeCommand": "gdb -ex 'set confirm off' -ex quit", // 初始化GDB配置
|
||||||
"postAttachCommand": "make debug"
|
"postAttachCommand": "make"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user