Skip to content

Question: Change Python Debug button to Run button #953

Closed

Description

I've noticed that when I use WSL, the button in the top right defaults to debugging the current Python script.

Image

Whereas if I use a dev container, it defaults to running the current script.

Image

Is this configurable? I thought maybe I have a setting saved somewhere, but cannot find one.

Activity

  1. rchiodo commented on Feb 11, 2026

    @rchiodo
    Contributor

    This sounds like a VS code issue to me? We don't have any code that does things differently in WSL versus a dev container. Maybe there's a VS code setting that remembers the last button clicked?

  2. cecheta commented on Feb 12, 2026

    @cecheta
    MemberAuthor

    I've tried on some other devices using WSL and the icon defaults to Run not Debug, so seems to be an issue with this one device and VS Code in WSL.
    I had a look online and some other people have reported something similar, so maybe it's just a bit buggy.
    Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage-neededNeeds assignment to the proper sub-team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions