vadimcn / codelldb

A native debugger extension for VSCode based on LLDB
https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb
MIT License
2.42k stars 237 forks source link

Inherit environment from integrated terminal #1020

Closed jjcasmar closed 8 months ago

jjcasmar commented 8 months ago

When debugging with gdb using ms-vscode.cpptools, the debugger inherits the environment I have set in my integrated console, so I can source some bash files which define environment variables and then run the debugger.

However, CodeLLDB doesn't inherits the environment in the integrated terminal, and therefore, I have to modify my bash scripts to create an env file, which is unconvenient.

Is this the expected behavior?