I want to debug a Python script that takes multiple command line arguments, such as
myscript.py --input1 ./dir/file1.txt --input2 ./dir/file2.txt
in Pycharm. I am aware, that I can use the Run/Debug Configuration 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.
I would prefer calling myscript.py from my favorite shell, where I have file name completion etc., but still, use the PyCharm debugger on that script.
raw_input.do_awesome_work(input1, input2)and write test cases with appropriate input. You may then easily run the test cases under PyCharm debugger.