title: Debugger doesn't work: FileNotFoundError: [Errno 2] No such file or directory:
body: <p>I am using Python in VS Code on Windows 10. When I run debugger, the following message appears in terminal:</p>
  <pre><code>FileNotFoundError: [Errno 2] No such file or directory: 'c:\\Users\\user\\OneDrive - Akademia Górniczo-Hutnicza im. Stanisawa Staszica w Krakowie\\AGH\\Programowanie\\python_scripts\\testuje\\prosty.py'
  </code></pre>
  <p>And indeed, this is not-existing path. But why? In the next line in terminal the correct path appears:</p>
  <pre><code>PS C:\Users\user\OneDrive - Akademia Górniczo-Hutnicza im. Stanisława Staszica w Krakowie\AGH\Programowanie\python_scripts\testuje&gt;
  </code></pre>
  <p>The debugger changes the correct path to the incorrect one?
  When I run the script without debugging, then everything works fine.</p>
  <p>EDIT:
  The full terminal information:</p>
  <pre><code>Windows PowerShell
  Copyright (C) Microsoft Corporation. All rights reserved.
  
  Try the new cross-platform PowerShell https://aka.ms/pscore6
  
  PS C:\Users\user\OneDrive - Akademia Górniczo-Hutnicza im. Stanisława Staszica w Krakowie\AGH\Programowanie\python_scripts\testuje&gt;  &amp; 'C:\Program Files\Python39\python.exe' 'c:\Users\user\.vscode\extensions\ms-python.python-2021.9.1246542782\pythonFiles\lib\python\debugpy\launcher' '50663' '--' 'c:\Users\user\OneDrive - Akademia Górniczo-Hutnicza im. Stanisawa Staszica w Krakowie\AGH\Programowanie\python_scripts\testuje\prosty.py'
  Traceback (most recent call last):
    File &quot;C:\Program Files\Python39\lib\runpy.py&quot;, line 197, in _run_module_as_main
      return _run_code(code, main_globals, None,
    File &quot;C:\Program Files\Python39\lib\runpy.py&quot;, line 87, in _run_code
      exec(code, run_globals)
    File &quot;c:\Users\user\.vscode\extensions\ms-python.python-2021.9.1246542782\pythonFiles\lib\python\debugpy\__main__.py&quot;, line 45, in &lt;module&gt;
      cli.main()
    File &quot;c:\Users\user\.vscode\extensions\ms-python.python-2021.9.1246542782\pythonFiles\lib\python\debugpy/..\debugpy\server\cli.py&quot;, line 444, in main
      run()
    File &quot;c:\Users\user\.vscode\extensions\ms-python.python-2021.9.1246542782\pythonFiles\lib\python\debugpy/..\debugpy\server\cli.py&quot;, line 285, in run_file
      runpy.run_path(target_as_str, run_name=compat.force_str(&quot;__main__&quot;))
    File &quot;C:\Program Files\Python39\lib\runpy.py&quot;, line 267, in run_path
      code, fname = _get_code_from_file(run_name, path_name)
    File &quot;C:\Program Files\Python39\lib\runpy.py&quot;, line 237, in _get_code_from_file
      with io.open_code(decoded_path) as f:
  FileNotFoundError: [Errno 2] No such file or directory: 'c:\\Users\\user\\OneDrive - Akademia Górniczo-Hutnicza im. Stanisawa Staszica w Krakowie\\AGH\\Programowanie\\python_scripts\\testuje\\prosty.py'
  PS C:\Users\user\OneDrive - Akademia Górniczo-Hutnicza im. Stanisława Staszica w Krakowie\AGH\Programowanie\python_scripts\testuje&gt; 
  </code></pre>