小编xia*_*993的帖子

如何在 Windows 上使用 Visual Studio Code 在 Docker 中编译/调试 C++ 应用程序

我是 Visual Studio Code 和 Docker 的新手。现在我想使用 Visual Studio Code 来编辑我的 C++ 代码和 Docker 来编译/调试。

我不知道如何正确编写launch.json和task.json文件,以便我可以在Visual Studio Code开发环境下使用Docker来编译/调试我的C++应用程序。这个问题有解决方案吗?

这是我的平台信息:

操作系统:Windows 10
Visual Studio 代码:v1.25.1
Docker 操作系统:Ubuntu 16.04 (Xenial Xerus)
Docker 编译器:g++

c++ docker visual-studio-code

12
推荐指数
2
解决办法
8546
查看次数

标签 统计

c++ ×1

docker ×1

visual-studio-code ×1