Skip to content

launch.json says "Property debugStdLib is not allowed." #5892

@v-kydela

Description

@v-kydela

Environment data

  • VS Code version: 1.34.0
  • Extension version (available under the Extensions sidebar): 2019.5.17517
  • OS and version: Windows 10
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: N/A

Expected behaviour

launch.json should not underline properties that are allowed and useful. 'debugStdLib' needs to be added to the schema for Python configurations.

Actual behaviour

image

Steps to reproduce:

  1. Add "debugStdLib": true to a Python launch configuration
  2. See warning

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

Starting Microsoft Python language server.
Downloading https://pvsc.azureedge.net/python-language-server-stable/Python-Language-Server-win-x64.0.2.87.nupkg... complete
Unpacking archive... done
[Info  - 12:48:11 PM] GetCurrentSearchPaths C:\Users\v-kydela\AppData\Local\Programs\Python\Python37-32\python.exe 
[Info  - 12:48:11 PM] Python search paths:
[Info  - 12:48:11 PM]     c:\users\v-kydela\appdata\local\programs\python\python37-32\dlls
[Info  - 12:48:11 PM]     c:\users\v-kydela\appdata\local\programs\python\python37-32\lib
[Info  - 12:48:11 PM]     c:\users\v-kydela\appdata\local\programs\python\python37-32
[Info  - 12:48:11 PM]     c:\users\v-kydela\appdata\roaming\python\python37\site-packages
[Info  - 12:48:11 PM]     c:\users\v-kydela\appdata\local\programs\python\python37-32\lib\site-packages
[Info  - 12:48:11 PM] Configuration search paths:
[Info  - 12:48:12 PM] Microsoft Python Language Server version 0.2.87.0
[Info  - 12:48:12 PM] Initializing for C:\Users\v-kydela\AppData\Local\Programs\Python\Python37-32\python.exe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions