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.
请先登录再写评论。
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.