When using edebug one can get a local variable by command
C-h v), but are there any ways to display all local variables?
For example in Python you can call
locals() in a
pdb session, which returns all the local vars in dictionary. Does Elisp have a similar function?