Skip to content

Devloper's notes: how to debug cl jupyter?

Frederic Peschanski edited this page Apr 28, 2017 · 4 revisions

How to debug cl-jupyter?

Objective: be able to tweak (at the same time):

  • the cl-jupyter lisp code
  • the lisp dependencies, especially pzmq
  • the jupyter and notebook python code

virtual-env

For tweaking a specific jupyter version, the simplest is to use virtual-env

$ virtual-env /home/me/devel/jupyter-tweak
$ /home/me/devel/jupyter-tweak/bin activate
$ pip3 install jupyter

Remark: the interesting network code is in: notebook/base/zmqhandlers.py and jupyter_client/session.py

pzmq (and/or other quicklisp dependencies to tweak)

$ cd ~/quicklisp/local-projects
$ git clone https://github.com/orivej/pzmq
Clone this wiki locally