How to specify command line arguments when debugging in PyCharm
--Environment
--Windows10 Pro version 1909
- PyCharm 2020.2.2 (Community Edition)
- Open the Run / Debug Configurations dialog with Run> Edit Configurations
- Select [Python]> Target Source from the menu on the left
- Enter the value you want to use as an argument in the [Configration] tab> [Parameters:].
- Click the [OK] button to close the dialog
- Debug normally (Shift + F9)