Skip to content

Define Python variables in launch.json as if using debug console #16990

Closed

Description

Discussed in #15542

Originally posted by sroener March 3, 2021
Hi,

I want to suggest an option in the launch.json for adding variables at startup, which don't have to be parsed by boilerplate CLI.
The idea comes from the observation that I can add/overwrite variables in a running debug session by using the debug console. Depending on the number of variables, this quickly becomes tedious and time consuming, so I thought it would be nice to have an option to automate this.

I tried to find a method to do this via the launch.json, but it seems that there are only options to either define environment variables (env) or command line arguments (args).

Activity

  1. brettcannon commented on Sep 1, 2021

    @brettcannon
    MemberAuthor

    Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 5 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

  2. brettcannon commented on Nov 1, 2021

    @brettcannon
    MemberAuthor

    Thank you for submitting your feature request and everyone who considered it! Unfortunately this issue did not receive enough votes over the allotted time, and so we are closing the issue.

  3. locked as resolved and limited conversation to collaborators on Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions