After years of research programming in Matlab, I miss the way I could pause a program mid-execution and inspect the variables, do plotting, save/modify data, etc. via the interactive console, and then resume execution.
Is there a way to do the same thing in python?
For example:
# ... python code ...
RunInterpreter
# Interactive console is displayed, so user can inspect local/global variables
# User types CTRL-D to exit, and script then continues to run
# ... more python code ...
This would make debugging a lot easier. Suggestions much appreciated, thanks!