Debug python programs with parameters in pycharm
(Pycharm version 2018.2.4 x64, all other versions should be similar)
Incoming parameters when debug
This program runs is the place to find arguments passed a long time, the original in this position,
the Run → Edit the Configurations ... in the following figure.
Run / Debug Configurations window below.
Parameters can be set at the input parameters. There is another place to note that the Working directory, this place tends to cause problems path, that path and debugging actual travel path inconsistent cause problems.
Welcome to exchange!