Is there a way to record the state (or take a 'snapshot') of all local/global variables (and call stack and other debug info) in a python debug session so that I can view it later?
I use VSCode with the Microsoft python extension to debug python. What I want to do is when I hit a breakpoint, like below, to have a way to save all the global/local variables so I can continue debugging and compare all the debug info between my saved 'snapshot' and the current state of the system.
Does anyone know of a way to do this? Doesn't have to be VSCode compatible, but that would be nice.