Keep execution context of completed script available in Debug Interactive
description
Would be nice to keep execution context of completed script available in Debug Interactive. This is often useful while developing numerical computation/visualization scripts to prototype the next step in interactive mode before incorporating it into the script.
See for example how it works in IDLE (and most other Python IDE's I've tried)
Admittedly, pretty much the same effect could be achieved by adding print("done") as at the last line of the script and setting a breakpoint on it, but it just feels unnatural that I have to do that...