Reputation: 11
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