title: Detect debug mode in VSCode Extension
body: <p>I am developing a VSCode Extension and I would like to write a simple logging utility that only logs to the console during debugging, otherwise, it's a no-op.</p>
  
  <p>Is there a flag or value somewhere available in an extension that indicated debugging is currently ongoing?</p>