Skip to content

Python extension should activate on onDebugInitialConfigurations #9557

@isidorn

Description

@isidorn

Hi VS Code dev here 👋

  1. Have python extension installed, workspace without a launch.json.
  2. Do not open a python file
  3. Press "Open launch.json" in the Debug viewlet
  4. Python options are not presented 🐛

The issue for this is because Python extension did not get activated since no python file got opened.
I suggest that python extension gets activated also for onDebugInitialConfigurations event. This event is fired when the launch.json is about to get populated for the first time.

fyi @luabud

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions