Debugging pytorch code in pycharm (Feasibility)
I am trying to run a code in written in python (pytorch code) which when passed as an arguments options trains the Neural network.
if __name__ == &quot;__main__&quot;:
    args = docopt(__doc__)
    myparams = args[&quot;options&quot;]
    ....
    /* do work */

Now if we have to run this code, I need to call it from console. python3 train.py --option1 123 etc. But in that case the debug points won't work in pycharm. Can anybody clarify how to debug in this scenario? (If you know the way it would be great if you let me know).

Look at menu bar,Run-&gt;Edit Configurations-&gt;(Chose One Configuration)Parameters
