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

Source bash file before running debugger #1017

Closed jjcasmar closed 8 months ago

jjcasmar commented 8 months ago

I dont know if this is currently possible, I haven't been able to find it.

My application needs to set a bunch of environment variables, which are all listed in a .sh file which I have to source before running my application. This .sh file set the correct LD_LIBRARY_PATH and other variables and is automatically generated by conan.

It would be nice if it was possible to source a bash file instead of just relying of an envFile for setting environment variables.