您的位置: 首页 > 文章 > Clion 远程调试程序 Clion 远程调试程序 分类: 文章 • 2024-08-28 12:31:34 1. 配置远程服务器 settings-> Build,Execution,Deployment->Toolchains 注意: 服务器需要有ssh 必须默认调用你需要链接的服务器(在最上面的) 2. 之后代码会被自动上传到服务器上 默认路径是/tmp/tmp.xxxxxxxx,如果需要改动路径,可以在Toosls->Deployment->Configuration->Mappings里面改动 3. 之后程序会自动运行cmake 4. 编译 Build->Build All in Debug