title: How does one debug an MSTest in VSCode?
body: <p>In version 1.17.2 of VSCode (with the C# extenion installed) I have added an MSTest project to a solution folder via <code>dotnet new mstest</code> and added a reference to the the assembly being tested with <code>dotnet add &lt;project_path&gt;</code>.</p>
  
  <p>Given the two VSCode tasks below I can build and run the tests successfully; i.e. everything builds, the unit tests run and pass.</p>
  
  <pre><code>{
      "version": "2.0.0",
      "tasks": [
          {
              "taskName": "build",
              "command": "dotnet build src/tests/tests.csproj",
              "type": "shell",
              "group": {
                  "kind": "build",
                  "isDefault": true
              },
              "presentation": {
                  "reveal": "silent"
              },
              "problemMatcher": "$msCompile"
          },
          {
              "taskName": "test",
              "command": "dotnet test src/tests/tests.csproj",
              "type": "shell",
              "group": {
                  "kind": "test",
                  "isDefault": true
              },
              "presentation": {
                  "reveal": "silent"
              },
              "problemMatcher": "$msCompile"
          }
      ]
  }
  </code></pre>
  
  <p>I cannot however hit breakpoints or otherwise step through the unit test with the integrated debugger. The closest launch configuration I've come up with will run the tests but the debugger doesn't hit breakpoints or attach to anything.</p>
  
  <pre><code>    {
          "name": "test",
          "type": "coreclr",
          "request": "launch",
          "preLaunchTask": "build",
          "program": "dotnet",
          "args": ["test"],
          "cwd": "${workspaceRoot}/src/tests",
          "stopAtEntry": true,
          "console": "internalConsole"
      }
  </code></pre>
  
  <p>I may be missing something fundamental but how does one launch or attach the vscode c# debugger to an MSTest unit test? </p>