Skip to content

Terminal printing list of multiple environment variables #31

Answered by jonahgraham
santimchp asked this question in Q&A
Discussion options

You must be logged in to vote

A screenshot would help to confirm this, but I think what you are talking about is the environment that is used to launch gdb because you are using "openGdbConsole": true. Is it something like:

cd /path/to/something ; /usr/bin/env LOTS_OF_ENVS_HERE gdb -ex new-ui\ mi2\ /dev/pts/28 

The openGdbConsole is obviously a useful feature you don't want to turn off!

It is actually Theia (or VSCode) creating this output because the adapter is using runInTerminal and including the environment variables to use when launching gdb.

The environment it is using is the environment that the debug adapter is running in, which may be different than the environment that the terminal opens in.

Perhaps we coul…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by santimchp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants