Skip to content
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

Automatically upgrade pythonExperimental to python #2478

Closed
qubitron opened this issue Sep 4, 2018 · 0 comments
Closed

Automatically upgrade pythonExperimental to python #2478

qubitron opened this issue Sep 4, 2018 · 0 comments
Assignees
Milestone

Comments

@qubitron
Copy link

qubitron commented Sep 4, 2018

All debug configs that use pythonExperimental need to be upgraded to python, all users of old debug configs will suddenly start failing with the message:

Failed to find debugger extension info for type:pythonExperimental

Can we have a task that runs on startup that automatically scans launch.json, looks for the presence of the string pythonExperimental, if detected we prompt a banner that says

Your launch.json file needs to be updated to change the "pythonExperimental" debug 
configurations to use the "python" debugger type, otherwise Python debugging may 
not work. Would you like to automatically update your launch.json file now?

[ Yes, update launch.json ] [ No, I will do it later ]

If click yes it:

  • Rewrites all instances of "pythonExperimental" to "python"
  • Rewrites all instances of Python Experimental: to Python:

This should be run on every startup of the Python extension, the banner does not go away if the user selects No, they will see it the next time they load the extension.

@qubitron qubitron added this to the Aug 2018 milestone Sep 4, 2018
@DonJayamanne DonJayamanne self-assigned this Sep 4, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Oct 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants