Pass Command line arguments and debug the python code in Pycharm
I am using Pycharm for python code development. In order to execute my code, I do is following in pycharm terminal:
C:\project-master>python arellecmdline.py --plugin myplugin\migration -f "C:/Form1/all_2020-01-01.xsd"
Where arellecmdline.py code takes commands:
--plugin myplugin\migration
-f "C:/Form1/all_2020-01-01.xsd"
With above commandline arguments I can execute my code with no issues. But, for code debugging I am having difficulty. Pycharm for some reason does not stops at breakpoints.All it return is:
Connected to pydev debugger (build 173.4127.16)
Process finished with exit code 0
Is there a way to pass my commandline arguments from Pycharm and can make program stop at breakpoints?
Please sign in to leave a comment.
Does it stop at breakpoints if you omit the parameters? I think first we need to make sure the parameters are causing the issue.