title: How do you setup local environment variables for Cloud Functions for Firebase
body: <p>I'm using http cloud functions to listen for a request and then return a simple message. </p>
  
  <p>I'm developing cloud functions locally using:</p>
  
  <pre><code>firebase serve --only functions
  </code></pre>
  
  <p>I've setup some custom environment variables using</p>
  
  <pre><code>firebase functions:config:set
  </code></pre>
  
  <p>Accessing the custom config variables using the below code works fine when the project is deployed </p>
  
  <pre><code> functions.config()
  </code></pre>
  
  <p>but it does not work when developing locally. When the function is triggered by hitting: <a href="http://localhost:5002/my-project-name/us-central1/functionName" rel="noreferrer">http://localhost:5002/my-project-name/us-central1/functionName</a> I can't access the custom config variables. when using functions.config() locally, I can see the default config, just not my custom config variables</p>
  
  <p>Is there an alternate solution or best practice for environment variables when working locally?</p>