title: How to compile/debug a C++ application in Docker with Visual Studio Code on Windows
body: <p>I'm new on Visual Studio Code and Docker. Now I want to use Visual Studio Code to edit my C++ code and Docker to compile/debug.</p>
  
  <p>I don't know how to write the launch.json and task.json correctly files, so that I can use Docker to compile/debug my C++ application just under Visual Studio Code development environment. Is there a solution for this problem?</p>
  
  <p>Here is my platform information:</p>
  
  <p>OS: Windows 10 <br/>
  Visual Studio Code: v1.25.1 <br/>
  OS in Docker: Ubuntu&nbsp;16.04 (Xenial Xerus)<br/>
  Compiler in Docker: g++</p>