I would like to execute arbitrary Python commands in the Python console so that they can access the current local (and global, any) function variables during the debugging process, for example, in Matlab debugging.
Is this possible in Python?
UPDATE
I do not have a button described by @nanotek

A dedicated button, located in the same place, does the opposite thing: it passes console variables. As you can see, the console does not see the variable found_featuresthat is in the current traceable program above.
source
share