title: Run single test using Python Unittest in Visual Studio Code Debug mode
body: <p>I use the pylint extension in Visual Studio Code within the Debug module (see image) to run my tests using Python Unittest library.</p>
  
  <p>Whenever I run my tests, I execute my test.py file in Debug and it runs all of the tests in the entire file.  I have my tests broken up logically by classes with several tests per class.</p>
  
  <p>To reduce the time it takes evaluate test results for a single test I am actively working on, is there a way to execute just that one test rather than wait for all the tests in the test.py file to execute while in VS Code Debug mode?</p>
  
  <p>For example:</p>
  
  <pre><code>test.py
  
  import unittest
  
  class test_TestClass(unittest.TestCase):
  
      def test_Test1(self):
          x = 1
          self.assertEqual(x, 1)
  
      def test_Test2(self):
          y = 2
          self.assertEqual(y, 3)
  </code></pre>
  
  <p>If I want to only execute test_Test2() to make sure that it fails, how do I do that without running the entire file (i.e., test_Test1 and test_Test2)?</p>
  
  <p><a href="https://i.stack.imgur.com/9j6Qn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9j6Qn.png" alt="enter image description here"></a></p>