Skip to content

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

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).

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