79620565

Date: 2025-05-14 00:25:25
Score: 1.5
Natty:
Report link

I ended up clearing launch.json file and redoing "Run on Cloud Run Emulator" command in vscode.

I entered the key:value pairs in Environment Variables section in "Advanced Service Settings"

Screenshot shows a text box for environment variables to store them as key:value pairs, one per line.

This added an env section in launch.json with the values.

            "service": {
                "name": "abc-cloud-run",
                "containerPort": 8080,
                "env": [
                    {
                        "name": "PORT",
                        "value": "8080"
                    },
                    {...}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: knotmine