title: How can I debug a python script from command line using PyCharm?
body: <p>I want to debug a <code>Python</code> script that takes multiple command line arguments, such as</p>
  
  <pre><code>myscript.py --input1 ./dir/file1.txt --input2 ./dir/file2.txt
  </code></pre>
  
  <p>in <code>Pycharm</code>. I am aware, that I can use the <code>Run/Debug Configuration</code> to add command line arguments. However, I feel that this is rather cumbersome as I have to open a menu every time I want to modify the arguments. Moreover, there is no file name completion when specifying files as arguments. </p>
  
  <p>I would prefer calling <code>myscript.py</code> from my favorite shell, where I have file name completion etc., but still, use the <code>PyCharm</code> debugger on that script. </p>