Replies: 1 comment
-
Because the debuggee is a child process of the debugger, which, in turn, is a child of one of VSCode's worker processes. The terminal shell is not in that hierarchy. Besides, there's no guarantee about which terminal will get used for output. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
OS: Ubuntu 20.04
VSCode version: 1.76.2
CodeLLDB version: 1.9.0
Compiler: gcc
Debuggee: x86_64-linux-gnu
Trying to debug-launch my debuggee it complains about missing shared libraries. Manually setting the
LD_LIBRARY_PATH
(and other environment variables required by my debuggee) in the launch configuration resolves the issue.Of course, directly launching from the integrated terminal doesn't pose an issue.
Why is the environment of vscode's integrated terminal not inherited by default? Can I enable that somehow?
Beta Was this translation helpful? Give feedback.
All reactions