Skip to content

request support for an auto option in the terminalIndex  #5

@fh32000

Description

@fh32000

Dear F5Anything developer,

I am writing to request support for an auto option in the terminalIndex configuration attribute. Currently, when this attribute is used to specify a terminal index for a debug configuration, it always opens the same terminal instance, which can cause issues when running multiple debug sessions.

I suggest adding an auto option that automatically selects the next available terminal index for each debug session. This would allow users to run multiple debug sessions simultaneously without having to manually specify a terminal index each time.

Here's an example of how this feature could be used in a debug configuration:

{
    "name": "docker bash",
    "terminalName": "docker bash",
    "type": "f5anything",
    "request": "launch",
    "terminalIndex": "auto",
    "command": "docker exec -it web.webtool.dev /bin/bash"
}

With the auto option, each time a user starts a debug session with this configuration, F5Anything would automatically select the next available terminal index and open a new terminal instance. This would greatly simplify the process of running multiple debug sessions and reduce the chance of conflicts between terminal instances.

Thank you for considering this feature request.

Best regards,

fh32000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions