Hi I am using pants `2.15.0rc2` and I use the extr...
# general
h
Hi I am using pants
2.15.0rc2
and I use the extra_env_vars field inside the python_tests target. ./pants test works fine but when running it with the debug adapter flag my environment variables are missing. Before I reach a breakpoint I get a key not found error in my code because some ENV VAR is missing. Do you know if this is a bug or do I need to improve my config.
b
Likely a bug? File an issue with all the relevant details for reproduction and I'll take a look
t
I am working on the same repo and noticed that this likely applies to
run
as well. Though, the run goal is executed in a
local_environment
. Is the debugger supposed to work in an environment?
b
I'm not surprised, the code paths are similar