alexmojaki / birdseye

Graphical Python debugger which lets you easily view the values of all evaluated expressions

Home Page:https://birdseye.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jupyter/IPython notebook plugin/integration

alexmojaki opened this issue · comments

The idea is to mark a notebook cell for tracing by birdseye (perhaps with some magic %birdseye or %eye) and then when you run the cell it creates a new cell below with the code traced as in normal birdseye, i.e. expressions and statements boxed and hoverable.

This would probably mean some refactoring in this package followed by creating a new package to contain the plugin. I'm not sure of the details at the moment as I've never created a notebook plugin and have very little experience with notebooks in general.

Thanks @westurner and @ashimb9. Personally I've chosen to prioritise PyCharm integration (#49) at the moment, but I would love it if either of you (or both) could work on this. It would be a great feature which would draw a lot of attention to the project as a whole, lower the barrier to entry, and make it nicer to use. I will happily give as much guidance as necessary.

My knowledge of Javascript is nowhere near what would be required for a project of this sort (and even that is being too kind :]). I am hoping that somebody in the Jupyterlab community (or here) with the right skills finds this useful to integrate it into Jupyterlab proper because they do have a long term plan, from what I can gather, to add a visual debugger. In other words, my hope is that something like this be a core part of Jupyterlab itself (although not sure how you feel about that?). As an aside, I noticed that your issue appears focused in the direction of the traditional notebooks, I was wondering if you had had a chance to look into the new Jupyterlab environment? (although not that I would know what that entails in terms of differences in the underlying codebase). In any case, thanks a lot for this -- birdseye is really awesome! :)

Thanks!