title: Failing to read input from .net-core console application in vscode
body: <p>I've been trying to get <a href="https://code.visualstudio.com/docs/other/dotnet" rel="noreferrer">dotnet new console</a> example project (for vscode) to work in Ubuntu 17.10.</p>
  <p>I can get the default program to run:</p>
  <pre><code>using System;
  
  namespace dotnet_console
  {
      class Program
      {
          static void Main(string[] args)
          {
              Console.WriteLine(&quot;Hello world!&quot;);
          }
      }
  }
  </code></pre>
  <p>But when i change it to read input as well, it gets really wonky...</p>
  <pre><code>using System;
  
  namespace dotnet_console
  {
      class Program
      {
          static void Main(string[] args)
          {
              Console.Write(&quot;Name: &quot;); // 1
              var name = Console.ReadLine(); // 2
              Console.WriteLine(&quot;Hello {0}!&quot;, name); // 3
          }
      }
  }
  </code></pre>
  <p>The program builds, but it won't print <code>Name:</code>. However if i put breakpoints on line 1, 2 &amp; 3, i can see that the program runs through ALL of them, but nothing prints. That is until i stop the debugging. Then it prints</p>
  <blockquote>
  <p>Name:</p>
  <p>The program '[16322] dotnet-console.dll' has exited with code 0 (0x0).</p>
  </blockquote>
  <p>What is happening here? I'm guessing its a vscode thing, because it works as expected when ran from the terminal using <code>dotnet run</code>.</p>