title: How to compile C++ code using Visual Studio Code in Ubuntu?
body: <p>I've been looking at some online resources on how can I compile a C++ project using Visual Studio Code. I'm very new to Visual Studio Code but I could not find a tutorial that clearly explains how I can compile a large C++ project that requires CMake with some arguments to enable debugging in a Unix-based operating systems like Ubuntu. The closest thing I found was <a href="https://code.visualstudio.com/docs/editor/tasks#vscode" rel="noreferrer">this</a> which seems pretty concise, which might be enough for more expert users. So I wonder, can someone give some step-by-step instructions on how I should set up VSCode and compile C++ code and enable debugging with GDB?</p>
  
  <p>FYI, I have installed the <em>C++</em> and <em>CMake</em> extensions.</p>