Serpent10i
Serpent10i

Reputation: 11

How to pass in different script parameters to a Run Config when using Debug in PyCharm

I'm writing a Flask app and I would like to automatically pass debug into app.run() when clicking the Pycharm 'Debug' button (instead of Run).

I have argparse setup so that if --debug gets passed in is processed correctly, but I'm not sure how to hook Pycharm into that.

Is this possible?

Thank you!

Upvotes: 1

Views: 28

Answers (0)

Related Questions