Pycharm keeps creating new undesired Run/Debug Configurations

Answered

I have a flask project that consists in two main folders within the root, backend and frontend. My flask application app.py is inside backend.

My issue is that every time I right-click/Run-Debug my app.py file it creates a new default Run/Debug Configuration instead of using any of the ones I made.

Obviously I can select and execute specifically the one I want, but I was wondering if there a way to select any of mine as the default so no new undesired configurations gets created?.

0
3 comments

Could you attach a screenshot of the run configuration that you made and another one showing the run configuration that PyCharm generates?

0

Mine:

When I right-click debug:

At first I though that it was because it didn't like that I changed the working directory, but still does it even after resetting it to default.

0

It's a bug.
I reproduced it and created a ticket in our issue tracker https://youtrack.jetbrains.com/issue/PY-50668, please vote for it and feel free to comment.

0

Please sign in to leave a comment.