-
Notifications
You must be signed in to change notification settings - Fork 26
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
No Python run/debug configuration options shown #386
Comments
Thanks for your bug report, could you check if you can add a configuration in the launch.json file? I see that you are trying to add it in the settings.json. |
Sorry. I just noticed that I actually never sent my long answer 😠 Adding a configuration to launch.json works. The issue is that python don't show in the list as it does for other languages. |
Oh, I see. That sometimes happens because the Python Debugger Extension is not activated yet. Try opening a Python file first and then try again. Thanks. |
Hey @karthiknadig, this issue might need further attention. @jimisola, you can help us out by closing this issue if the problem no longer exists, or adding more information. |
closing, please comment and we can reopen if this is still an issue. |
We stumbled upon this again Monday. I'll see if I can reproduce the steps again tomorrow and comment here if so. |
@eleanorjboyd Please re-open TLDR; Python is not in the Add Configuration context list for workspace.json, launch.json or settings.json To reproduce:
or
|
Hey @karthiknadig, this issue might need further attention. @jimisola, you can help us out by closing this issue if the problem no longer exists, or adding more information. |
When in a python file with a main method, I choose Run -> Add configuration and this is what shows.
All the Python options are missing. I've looked in output Windows for Python Debugger and LS, but there are no errors.
As per instruction: microsoft/vscode-python#23686 (reply in thread)
The text was updated successfully, but these errors were encountered: