How to specify separate environment variables file for test vs development #22112
-
Howdy, My development environment has 2 separate env var files:
I can also override certain env vars by making a:
I read through the vscode documentation I cant find a way to say 'testing env file is .env.test, everything else use .env.dev'. i have set i have been able to also make a launch config to debug tests to use
But how do I say 'hey testing, use .env.test'. WHen i run (not debug) test cases, it uses any ideas how I can make this work? or do I have to make a feature request? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi- I think this is what you are looking for, we are planning on implementing this soon and are currently working on a proposal for the design: #21845 |
Beta Was this translation helpful? Give feedback.
-
If this doesn't answer your question please respond and we can reopen this! If you have comments / thoughts on the proposal, feel free to comment directly on the issue. Thanks! |
Beta Was this translation helpful? Give feedback.
Hi- I think this is what you are looking for, we are planning on implementing this soon and are currently working on a proposal for the design: #21845