title: Why isn't the Python debugger working in VS Code?
body: <p>I have the Python extension installed in VS Code, but whenever I set a breakpoint in my program and run the debugger, it just seems to run the whole program and exit. It doesn't stop or enter any kind of debugging stage. What am I doing wrong?</p>
  
  <p>Thanks!</p>
  
  <p>Edit: Node.js file</p>
  
  <pre><code>{
      // Use IntelliSense to learn about possible attributes.
      // Hover to view descriptions of existing attributes.
      // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
      "version": "0.2.0",
      "configurations": [
          {
              "type": "node",
              "request": "launch",
              "name": "Launch Program",
              "skipFiles": [
                  "&lt;node_internals&gt;/**"
              ],
              "program": "${file}"
          }
      ]
  }
  </code></pre>
  
  <p>Edit 2: Sample program</p>
  
  <pre><code>import string
  import random
  
  class Robot:
      letters = string.ascii_uppercase
      numbers = string.digits
  
      def __init__(self):
          random.seed()
          self.name = self.generate_name()
  
      def generate_name(self):
          return ''.join(random.choices(Robot.letters, k=2)) + ''.join(random.choices(Robot.numbers, k=3))
  
      def reset(self):
          self.__init__()
  </code></pre>