title: Create a PyCharm configuration that runs a module a la "python -m foo"
body: <p>My python entrypoint needs to be run as a module (not a script), as in:</p>
  
  <pre><code>python -m foo.bar
  </code></pre>
  
  <p>The following does not work (and is not supposed to):</p>
  
  <pre><code>python foo/bar.py
  </code></pre>
  
  <p>How can I create a run confirguration in pycharm that runs my code using the first invokation above?</p>