3 ms·
It is an interactive environment (not much use for a debugger).
by d0mine 8y ago
It is an interactive environment (not much use for a debugger).
- erikgaas 8y agoFWIW 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 8y 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 8y agoYou still write functions and may want to inspect variable state in the middle of function execution.
- applecrazy 8y 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 8y agoThere is a JupyterLab extension for that: https://github.com/lckr/jupyterlab-variableInspector https://github.com/lckr/jupyterlab-variableInspector
- bonoboTP 8y 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.