--- title: "Trae" type: entity tags: [IDE, Remote-SSH, 开发工具] sources: [trae-remote-dev-guide] last_updated: 2026-04-14 --- ## Definition 支持VS Code插件生态的IDE,通过Remote-SSH支持远程服务器开发。 ## Core Attributes - 类型:IDE - 特点:原生支持VS Code插件生态 - 连接方式:Remote-SSH ## Architecture - Ubuntu 2 (Dev Server):存放源码,运行Docker容器(代码挂载) - Ubuntu 1 (Prod Server):运行Docker容器(镜像打包),数据持久化 - ThinkBook (Local):仅作为UI端 ## Development Modes - **模式A**:Attach到正在运行的容器(推荐调试) - **模式B**:远程编辑宿主机文件 + Docker CLI(适合编排) ## Connections - [[Docker]] ← 容器 ← [[Trae]] - [[Ubuntu]] ← 服务器 ← [[Trae]]