{
  "$schema": "http://json.schemastore.org/launchsettings.json",
  "profiles": {
    "Development": {
      "commandName": "Project",
      "launchBrowser": true,
      "externalUrlConfiguration": true,
      "launchUrl": "http://localhost:8080",
      "environmentVariables": {
        "ENVIRONMENT": "Development"
      }
    },
    "Production": {
      "commandName": "Project",
      "launchBrowser": true,
      "externalUrlConfiguration": true,
      "launchUrl": "http://localhost:8080",
      "environmentVariables": {
        "ENVIRONMENT": "Production"
      }
    },
    // dotnet watch run must be run without the Visual Studio debugger using CTRL+F5.
    "Watch Development (CTRL+F5)": {
      "commandName": "Executable",
      "executablePath": "dotnet",
      "workingDirectory": "$(ProjectDir)",
      "commandLineArgs": "watch run",
      "environmentVariables": {
        "ENVIRONMENT": "Development"
      }
    },
    "Watch Production (CTRL+F5)": {
      "commandName": "Executable",
      "executablePath": "dotnet",
      "workingDirectory": "$(ProjectDir)",
      "commandLineArgs": "watch run",
      "environmentVariables": {
        "ENVIRONMENT": "Production"
      }
    }
  }
}
{
  "$schema": "http://json.schemastore.org/launchsettings.json",
  "profiles": {
    "Development": {
      "commandName": "Project",
      "launchBrowser": true,
      "externalUrlConfiguration": true,
      "launchUrl": "http://localhost:8080",
      "environmentVariables": {
        "DOTNET_ENVIRONMENT": "Development"
      }
    },
    "Production": {
      "commandName": "Project",
      "launchBrowser": true,
      "externalUrlConfiguration": true,
      "launchUrl": "http://localhost:8080",
      "environmentVariables": {
        "DOTNET_ENVIRONMENT": "Production"
      }
    },
    // dotnet watch run must be run without the Visual Studio debugger using CTRL+F5.
    "Watch Development (CTRL+F5)": {
      "commandName": "Executable",
      "executablePath": "dotnet",
      "workingDirectory": "$(ProjectDir)",
      "commandLineArgs": "watch run",
      "environmentVariables": {
        "DOTNET_ENVIRONMENT": "Development"
      }
    },
    "Watch Production (CTRL+F5)": {
      "commandName": "Executable",
      "executablePath": "dotnet",
      "workingDirectory": "$(ProjectDir)",
      "commandLineArgs": "watch run",
      "environmentVariables": {
        "DOTNET_ENVIRONMENT": "Production"
      }
    }
  }
}

Fix debugging Orleans in Development mode
Fix debugging Orleans in Development mode
