Skip to content

brinkqiang/dmremote_development

Repository files navigation

dmremote_development

Copyright (c) 2013-2018 brinkqiang (brink.qiang@gmail.com)

dmremote_development License blog Open Source Love GitHub stars GitHub forks

Build status

Linux Mac Windows
lin-badge mac-badge win-badge

环境设置

第一步:环境准备

安装docker插件

Mobile Preview

安装docker-desktop

Mobile Preview

安装Remote Development插件,主要用到Dev Containers、Remote-SSH插件。

如果是自己新建的工程 copy .devcontainer目录文件 到你的新工程目录

例子是C++项目, 有其他需求 到模板工程查看 https://github.com/devcontainers/templates

Mobile Preview

第二步:vscode打开目录, 提示从容器中重新打开

Mobile Preview

第三步: 安装C++插件

Mobile Preview

第四步: 安装CMake插件

Mobile Preview

第五步:编译项目

./build.sh Mobile Preview

第六步:调试项目

在test\dmremote_developmenttest\dmremote_developmenttest.cpp中设置断点,点击调试(F5)按钮,即可调试。

Mobile Preview

注意事项

需要分清楚 本地插件, 与容器插件, 比如docker, Remote Development都是本地要用的插件, 而C++/CMake插件是容器内用的

About

C++ development environment with vscode and docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published