forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update launch.json schema to add "python" and remove "pythonPath" #12462
Labels
Comments
int19h
added
feature-request
Request for new features or functionality
triage-needed
Needs assignment to the proper sub-team
labels
Jun 19, 2020
#13218 is now intended as the one and only way of supplying arguments to the interpreter, so (debugpy will still support the array syntax for backwards compatibility) |
int19h
added a commit
to int19h/vscode-python
that referenced
this issue
Nov 9, 2020
Fix microsoft#12462: Update launch.json schema to add "python" and remove "pythonPath" Split the "pythonPath" debug property into "python", "debugAdapterPython", and "debugLauncherPython". Properly register the python.interpreterPath command to expand the ${command:interpreterPath} debug configuration variable. Do most debug config validation on fully expanded property values via resolveDebugConfigurationWithSubstitutedVariables(). Add fixups for legacy launch.json with "pythonPath" and/or "${command:python.interpreterPath}".
int19h
added a commit
to int19h/vscode-python
that referenced
this issue
Nov 9, 2020
Fix microsoft#12462: Update launch.json schema to add "python" and remove "pythonPath" Split the "pythonPath" debug property into "python", "debugAdapterPython", and "debugLauncherPython". Properly register the python.interpreterPath command to expand the ${command:interpreterPath} debug configuration variable. Do most debug config validation on fully expanded property values via resolveDebugConfigurationWithSubstitutedVariables(). Add fixups for legacy launch.json with "pythonPath" and/or "${command:python.interpreterPath}".
int19h
added a commit
to int19h/vscode-python
that referenced
this issue
Nov 9, 2020
Fix microsoft#12462: Update launch.json schema to add "python" and remove "pythonPath" Split the "pythonPath" debug property into "python", "debugAdapterPython", and "debugLauncherPython". Properly register the python.interpreterPath command to expand the ${command:interpreterPath} debug configuration variable. Do most debug config validation on fully expanded property values via resolveDebugConfigurationWithSubstitutedVariables(). Add fixups for legacy launch.json with "pythonPath" and/or "${command:python.interpreterPath}".
int19h
added a commit
to int19h/vscode-python
that referenced
this issue
Nov 9, 2020
Fix microsoft#12462: Update launch.json schema to add "python" and remove "pythonPath" Split the "pythonPath" debug property into "python", "debugAdapterPython", and "debugLauncherPython". Properly register the python.interpreterPath command to expand the ${command:interpreterPath} debug configuration variable. Do most debug config validation on fully expanded property values via resolveDebugConfigurationWithSubstitutedVariables(). Add fixups for legacy launch.json with "pythonPath" and/or "${command:python.interpreterPath}".
int19h
added a commit
to int19h/vscode-python
that referenced
this issue
Nov 10, 2020
Fix microsoft#12462: Update launch.json schema to add "python" and remove "pythonPath" Split the "pythonPath" debug property into "python", "debugAdapterPython", and "debugLauncherPython". Do most debug config validation on fully expanded property values via resolveDebugConfigurationWithSubstitutedVariables(). Add fixups for legacy launch.json with "pythonPath".
int19h
pushed a commit
that referenced
this issue
Nov 16, 2020
Fix #12462: Update launch.json schema to add "python" and remove "pythonPath" Split the "pythonPath" debug property into "python", "debugAdapterPython", and "debugLauncherPython". Do most debug config validation on fully expanded property values via resolveDebugConfigurationWithSubstitutedVariables(). Add fixups for legacy launch.json with "pythonPath".
ghost
removed
the
needs PR
label
Nov 16, 2020
int19h
pushed a commit
to int19h/vscode-python
that referenced
this issue
Nov 16, 2020
…icrosoft#14676) Fix microsoft#12462: Update launch.json schema to add "python" and remove "pythonPath" Split the "pythonPath" debug property into "python", "debugAdapterPython", and "debugLauncherPython". Do most debug config validation on fully expanded property values via resolveDebugConfigurationWithSubstitutedVariables(). Add fixups for legacy launch.json with "pythonPath".
int19h
pushed a commit
that referenced
this issue
Nov 16, 2020
Fix #12462: Update launch.json schema to add "python" and remove "pythonPath" Split the "pythonPath" debug property into "python", "debugAdapterPython", and "debugLauncherPython". Do most debug config validation on fully expanded property values via resolveDebugConfigurationWithSubstitutedVariables(). Add fixups for legacy launch.json with "pythonPath".
karthiknadig
added a commit
that referenced
this issue
Nov 26, 2020
* Cherry pick from main (#14644) * Update shipped wheels version (#14615) * Update shipped wheels version * News item * Remove redundant files (#14620) * Add extension dependencies at build time (#14636) * Use Node 12.15 in Insiders and Release GitHub Actions (#14641) * Use Node 12.15 on all Insiders and Release GitHub Actions jobs (#14642) Co-authored-by: Joyce Er <joyceerhuiling@gmail.com> * Cherry pic fixes into release for tests. (#14673) * Added FSWatching base class and made related changes (#14605) * Add FSWatching locator base class * Correct glob pattern to not match python3.2whoa * Add documentation of python binary watcher * Fix lint errors * Update ignore list * Add disposable registry * Modify FSWatching Locator * Code reviews * Use string[] * Remove list disposable getter * Fix failing global virtual env watcher tests (#14633) Co-authored-by: Kartik Raj <karraj@microsoft.com> * Version, change log and cherrypicks for nov release (#14696) * change log updates * Update gifs * Fix for interpreter selection (#14693) * Fix for interpreter selection * Fix linting errors * Minor tweak to property removal * Cherry pick "Bind function to correct this for workspace syms" (#14743) * Fix #14674: Enable overriding "pythonPath" in the launcher Fix #12462: Update launch.json schema to add "python" and remove "pythonPath" Split the "pythonPath" debug property into "python", "debugAdapterPython", and "debugLauncherPython". Do most debug config validation on fully expanded property values via resolveDebugConfigurationWithSubstitutedVariables(). Add fixups for legacy launch.json with "pythonPath". * Point release change log and version update (#14750) * Point release change log and version update * Fix process picker (#14700) * Workaround VSCode bug for process picker * Fix how we pass in icons to VSCode * update change log with cherry pick Co-authored-by: Kartik Raj <karraj@microsoft.com> Co-authored-by: Joyce Er <joyceerhuiling@gmail.com> Co-authored-by: Kartik Raj <karraj@microsoft.com> Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Co-authored-by: Pavel Minaev <pminaev@microsoft.com>
br3ndonland
added a commit
to br3ndonland/inboard
that referenced
this issue
Dec 20, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Now that we no longer have to worry about debug configs being compatible with both ptvsd and debugpy, there's no reason to use the legacy spelling and semantics for the property. The schema should be updated:
Remove "pythonPath" entirely.
Add "python", and reflect the fact that it can be either a simple string, or an array of strings (to specify command-line arguments for the Python interpreter itself).
The text was updated successfully, but these errors were encountered: