Skip to content

Contribute RPC environment variables to terminals #1348

@lewisfm

Description

@lewisfm

Recently I learned that CodeLLDB has an RPC server which can be used to start the debugger from the terminal, which is really convenient.

Unfortunately it seems like it takes some setup though, because you have to first think of a port & secret, then manually set that in your terminal as the CODELLDB_LAUNCH_CONNECT environment variable, then finally add codelldb-launch to your path.

It'd be very nice to just be able to enable the RPC server and have CodeLLDB contribute all the necessary environment variables to the terminal using the GlobalEnvironmentVariableCollection API. Maybe CodeLLDB could choose a random secret and/or port on startup, or it could still require the user to manually configure that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions