❔ Can't change environment variables in Rider

When I click on Edit Configurations and select a configuration to edit, the environment variables are read only. This config is based on a 'launchSettings.json' so there is a notice in the config editor that "profile parameters are set by launchSettings", and some fields are greyed out because of that, but not Environment variables. That field appears to be editable but is not.

Looking around I found one StackOverflow accepted answer that says one should edit the environment variables in launchSettings.json, but in my run/debug config, there is one variable that isn't in launchSettings.json. Note in the images that 'ASPNETCORE_URLS' is not present in launchSettings.

I am trying to get rid of that variable because I suspect it is causing an exception to be thrown when I try and debug the app. It doesn't throw an exception in VS and the only difference I can see is that the VS launch profile doesn't have the ASPNETCORE_URLS variable.
image.png
image.png
Was this page helpful?