-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Whenever I execute python code, I find additional arguments being printed prior to inteded executable outputs. These include
- file location of the Python interpreter
- location of .vscode extensions
- tvsd launcher file location
- launcher conditions
--defaul, --nodebug, --client, --host localhost, --port 59106 - Python file location
I believe these have been enabled by an extension, but I don't want them to be printed everytime. How do I prevent additional arguments from being printed and just view the inteded out in the terminal?
NB: I'm using the anaconda bash terminal, but the error is present with command prompt and powershell.
Environment data
- Version: 1.38.0 (user setup)
- Electron: 4.2.10
- Chrome: 69.0.3497.128
- Node.js: 10.11.0
- V8: 6.9.427.31-electron.0
- OS: Windows_NT x64 10.0.17134
- Python version (& distribution if applicable, e.g. Anaconda): 3.7.4 and Conda v.4.7.10
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): Conda on occasion
- Relevant/affected Python packages and their versions: 3.7.4
- Jedi or Language Server? (i.e. what is
"python.jediEnabled"set to; more info How to update the language server to the latest stable version #3977): N/A
Expected behaviour
Normal execution of code no additional arguments
Actual behaviour
$ "C:\Program Files\Python37\python.exe" c:\Users\USERNAME\.vscode\extensions\ms-python.python-2019.9.34911\python
Files\ptvsd_launcher.py --default --nodebug --client --host localhost --port 59106 c:\Users\USERNAME\Documents\Code\P
ythonSocket\Client.py
Steps to reproduce:
- XXX
Gif not required for this error
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
$ "C:\\Program Files\\Python37\\python.exe" c:\\Users\\USERNAME\\.vscode\\extensions\\ms-python.python-2019.9.34911\\python
Files\\ptvsd_launcher.py --default --nodebug --client --host localhost --port 59106 c:\\Users\\USERNAME\\Documents\\Code\\P
ythonSocket\\Client.py
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
XXX