Is there a way to print the jupyter messages being passed to the Jupyter Kernel after executing a statement in a notebook? I'm not able to find anything online.
1 Answers
There are some related discussions at the Jupyter Discourse forum:
requestExecuteandonReply, etc. handler functions on the future, or listen to the future’s done promiseis discussed hereListening to kernel messages in JupyterLab is discussed here and you may want to ask there about extensions mentioned that listen to kernel messages.
I've seen
experimental_do_complete()here referenced as being a way to add some logging to the ipykernel.register_target() callviaCommis discussed heremore on
ipykernelcommunicating via comms hereusing
ZeroMQto access the kernel is discussed hereKernel Gateway providing an HTTP+WebSockets interface to kernel management and kernels is discussed here
executing python code in the kernel on the user's behalf and dealing with how the output is returned, involving comms and API mention, is discussed here.
On StackOverflow, I just noted:
- 6,607
- 8
- 36
- 93