From b8ce9182919472bcceb84e78cea6de503c77e4fd Mon Sep 17 00:00:00 2001 From: yinxue <2643126914@qq.com> Date: Sun, 26 Oct 2025 16:27:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91=E5=AE=B9=E5=99=A8=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E5=8E=BB=E9=99=A4=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devcontainer/devcontainer.json | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 84689e0..874d8d6 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,7 +2,6 @@ "name": "Rust", "image": "mcr.microsoft.com/devcontainers/rust:1-1-bullseye", - // 先构建项目,但不自动运行 "postStartCommand": "cargo build && clear", "customizations": { @@ -10,11 +9,11 @@ "settings": {}, "extensions": [ "streetsidesoftware.code-spell-checker", - "rust-lang.rust-analyzer", // 添加 Rust 语言支持 - "vadimcn.vscode-lldb" // 添加 LLDB 调试器支持 + "rust-lang.rust-analyzer", + "vadimcn.vscode-lldb" ], - // 添加调试配置 + "debug": { "configurations": [ { @@ -29,7 +28,6 @@ ] }, - // 添加构建任务 "tasks": { "tasks": [ { @@ -46,7 +44,6 @@ } }, - // 转发应用端口(根据你的实际端口修改) "forwardPorts": [8080], "portsAttributes": { "8080": {