Debugging Question: Recompiling python file without restarting?

Is there a way to recompile a python module into an execution without rerunning the program in pycharm?

When I called execfunc(filename) in the debugger console, I see my changes reflected in the debugger. But the next time the breakpoint is hit, the code goes back to the original version.

1 comment
Comment actions Permalink

Reloading changed Python files without restarting the execution is typically handled by Web frameworks such as Django. PyCharm does not support this for non-Web projects at the moment.


Please sign in to leave a comment.