Skip to content

Question: Is there a way to set environment variables for the adapter process #23

@dtillman

Description

@dtillman

In a VS2022 plugin we have built, we are using DebugAdapterHost.Launch() to launch an $adapter that creates a SSH connection to set up vsdbg properly on a remote host. The adapter needs to be started with some environment variables set and we have not been able to figure out how to do this.

Is there an easy way of doing this? Maybe an $env setting that is applied to the process start of the $adapter exe?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions