Search code examples
pythondebuggingpycharm

Pycharm: Is there a way to save a break point state and debug going forward?


When debugging a code in Pycharm is there a way to save current state before proceeding forward? That way I do not have to re-process everything that was already debugged if there is a bug downstream.

Thanks


Solution

  • While you can create a temporary debug template to make it easier to get back to the point you're at, it is not possible to save the entire state of a running debug session and modify code downstream. My only suggestion would be to run a new instance of your script and keep the debug open for the current session as it is.