kongnuonuo
kongnuonuo

Reputation: 3

How to debug in pycharm when passing arguments on the command line?

I usually use breakpoints in pycharm to debug my programme,as the picture shows debug picture Now my program is running with arguments passed from the command line (as shown below, using the parser module). I want to set breakpoints to debug it. What should I do? my program

Upvotes: 0

Views: 977

Answers (1)

Rohit
Rohit

Reputation: 4158

Go to Run --> Run configurations and there you can specify the command line arguments that you want to pass to your program.

Upvotes: 1

Related Questions