Hacker News new | ask | show | jobs
by bonoboTP 2606 days ago
You still write functions and may want to inspect variable state in the middle of function execution.
1 comments

Correct. RStudio has this feature, where variable values can be inspected in a sidebar. This would be a really useful feature for Jupyter, especially when running a Python kernel.
There is a JupyterLab extension for that: https://github.com/lckr/jupyterlab-variableInspector
Does it work with variables that are local to a function? I don't mean inspecting global variables after having executed a cell, but local variables in the middle of a function execution.