title: Setting PYTHONPATH isn't fixing the "specified object is not a function or found along sys.path" error with pdb in VS Code
body: <p>I'm trying to set up the pdb debugger with IPython in VS Code. I know VS Code has its own debugging system, but I like the pdb / IPython system. It sort of works, but when I try to instantiate a new variable.</p>
  <p>I'm opening the anaconda terminal first, and then opening vs code to ensure my conda environment is being used. When I print the os.environ['PYTHONPATH'] variable, it contains both the /anaconda3/envs/myenv folder, as well as the folder containing the currently running *.py file.</p>
  <p>I am running the following simple python script:</p>
  <pre><code>a = 3
  breakpoint()
  b = 5
  </code></pre>
  <p>And then when pdb successfully starts up at line 2, if I try to assign &quot;b = 3&quot;, then I get an error, &quot;The specified object &quot;= 3&quot; is not a function or was not found along sys.path.&quot;</p>
  <p>I'm a bit perplexed by this, because I did google / try to modify my PYTHONPATH to include all of the relevant modules. I was wondering if there's something else I have to do...?</p>
  <p>Any thoughts appreciated.</p>
  <p>Thanks.</p>