Pycharm - debug scripts loaded by framework

I have a set of small applications, each one or 2 files in their own directory, that run within a larger framework. I have a single project file that loads all the folders so I can quickly jump between them.

Currently I create a run configuration for each "application" script and debugging works well.

My problem is that when I want to modify the framework I then have to modify every run configuration. It would be really nice to have a single context run configuration that would pass the selected python file to the framework.

Is this possible?

0
2 comments

I'm looking for exactly the same thing.

Is there a variable I can substitute into the "Script Path" setting of the run config that will just pass the name of the current script?

0

No, but feel free to vote for the feature request: https://youtrack.jetbrains.com/issue/PY-41348

0

Please sign in to leave a comment.