title: Debugger of VSC C++ running on a docker container is not stopping at breakpoints
body: <p>I am trying to debug some C++ code in VSC by running it on a docker container. To do that, I've done from the command palette <code>Attach to remote containers</code> of the <code>Remote-Container</code> extension and set the <code>launch.json</code> file as follows:</p>
  <pre><code>{
      &quot;version&quot;: &quot;0.2.0&quot;,
      &quot;configurations&quot;: [
          {
              &quot;name&quot;: &quot;my_name&quot;,
              &quot;type&quot;: &quot;cppdbg&quot;,
              &quot;request&quot;: &quot;launch&quot;,
              &quot;program&quot;: &quot;/my/program/path&quot;,
              &quot;args&quot;: [
              ],
              &quot;stopAtEntry&quot;: false,
              &quot;cwd&quot;: &quot;/my/cwd/path&quot;,
              &quot;environment&quot;: [],
              &quot;externalConsole&quot;: false,
              &quot;MIMode&quot;: &quot;gdb&quot;,
              &quot;setupCommands&quot;: [
                  {
                      &quot;description&quot;: &quot;Enable pretty-printing for gdb&quot;,
                      &quot;text&quot;: &quot;-enable-pretty-printing&quot;,
                      &quot;ignoreFailures&quot;: true
                  }
              ],
              &quot;preLau,nchTask&quot;: &quot;C/C++: g++ build active file&quot;,
              &quot;miDebuggerPath&quot;: &quot;/usr/bin/gdb&quot;,
              &quot;stopOnEntry&quot;:true,
          },
      ]
  }
  </code></pre>
  <p>My file currently consists only of a print and a return 0. When I try to debug, the program runs but it does not stop at the breakpoints I have inserted. Any idea what might be causing this?</p>