Skip to content

Name debug console automatically using launch.json file #1178

Closed

Description

I will like vscode-python to adapt runInTerminal command to use the name of the debug config from launch.json when naming debug terminals. This is already a possible with vscode in general. More info here: microsoft/vscode#128108

Activity

  1. int19h commented on Jan 18, 2023

    @int19h
    Contributor

    In the meantime, note that you can use "consoleTitle" in your debug config to set an arbitrary name.

  2. johnbendi commented on Jan 31, 2023

    @johnbendi
    Author

    In the meantime, note that you can use "consoleTitle" in your debug config to set an arbitrary name.

    I'm getting the warning that consoleTitle is not allowed in the debug configuration. Is this a recent addition?

  3. int19h commented on Jan 31, 2023

    @int19h
    Contributor

    It's been around for a few years now, but I think it might still not be reflected in the JSON schema that VSCode uses for Python configs - this would result in a warning squiggle in the editor. It should still allow you to start debugging, though, and the setting should work as expected.

    Karthik Nadig (@karthiknadig), given that this feature came up a few times before, should we go ahead and make it official in the docs, schema etc?

  4. judej commented on Jan 3, 2024

    @judej

    the workaround is to use consoleTitle. closing.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions