Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment variables in Rider is not picked up by get_env #307

Open
Baune8D opened this issue Dec 6, 2024 · 7 comments
Open

Environment variables in Rider is not picked up by get_env #307

Baune8D opened this issue Dec 6, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@Baune8D
Copy link

Baune8D commented Dec 6, 2024

Bug Description

Environment variables from Rider run configuration does not seem to be propagated to mirrord template engine.

Steps to Reproduce

image image image

Backtrace

No response

Relevant Logs

No response

Your operating system and version

macOS 15.1.1

Local process

dotnet

Local process version

8.0.11

Additional Info

No response

@Baune8D Baune8D added the bug Something isn't working label Dec 6, 2024
Copy link

linear bot commented Dec 6, 2024

Copy link
Member

aviramha commented Dec 6, 2024

Thanks for reporting this. Can you please share mirrord Plugin version and Rider version?

@Baune8D
Copy link
Author

Baune8D commented Dec 17, 2024

Using Rider 2024.3.2 and plugin version 3.64.2

@aviramha
Copy link
Member

@Baune8D how did you add the env variable? using launchSettings.json?

@Baune8D
Copy link
Author

Baune8D commented Dec 17, 2024

@Baune8D how did you add the env variable? using launchSettings.json?

Yes.

Copy link
Member

Thanks. I managed to reproduce on macOS

@aviramha
Copy link
Member

Looks like the environment variables aren't seen in our entrypoint - I think this is an issue on IntelliJ side since it does show for Linux setup. Need to do bit more of investigation from our side and then open issue on JetBrains' tracker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants