4 ms·
FWIW I use the %debug magic command in Jupyter and it has been a great experience. I'm pretty ignorant of the enterprise debugging tools so take that with a gra
by erikgaas 7y ago
FWIW I use the %debug magic command in Jupyter and it has been a great experience. I'm pretty ignorant of the enterprise debugging tools so take that with a grain of salt.
- y4mi 7y agoDebuggers are only really useful if you're trying to figure out why some object in your server doesn't do what you want it to. I'd wager that almost no data scientists write object oriented code.. it's probably mostly done one calculation at a time. executed in the notebooks repl. So the value you get from ide debuggers is tiny, as you're already doing everything one step at a time.
- bonoboTP 7y agoYou still write functions and may want to inspect variable state in the middle of function execution.
- applecrazy 7y agoCorrect. 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.
- timdumol 7y agoThere is a JupyterLab extension for that: https://github.com/lckr/jupyterlab-variableInspector https://github.com/lckr/jupyterlab-variableInspector
- bonoboTP 7y agoDoes 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.