title: How to know chrome extension is in development or production environment?
body: <p>You often face situations where you have to set different variables for development and production environments. For example, if your extension has to access external API, you want to disable this when you are running your development version. So far, I've checked the <code>chrome.runtime.id</code> to see if it matches the published one's id.</p>
  
  <p>Is there a better way than this?</p>