I try to run a powershell script from vscode (pressing F5 to execute it), but it fails because somehow the terminal concatenates the python path and python debug launcer along with the powershell path. How do I solve so that when running a Python scripts it takes the python path, and when running powershell it automatically runs powershell?
When running (F5) the powershell script from vscode the following path is interpreted by the terminal:
PS C:\Users\luuk\Desktop\Scripts\Archive\Archive> & 'C:\Users\luuk\AppData\Local\Programs\Python\Python38\python.exe' 'c:\Users\luuk\.vscode\extensions\ms-python.python-2020.11.371526539\pythonFiles\lib\python\debugpy\launcher' '60329' '--' 'c:\Users\luuk\Desktop\Scripts\Archive\Archive\Powershell\StreamingSQLToPBI.ps1'
What do I need to change so vscode automatically detects only the Powershell path?
