# Using slicer as a Jupyter kernel, how to set up a variable inspector

**URL:** <https://discourse.slicer.org/t/using-slicer-as-a-jupyter-kernel-how-to-set-up-a-variable-inspector/35054>\
**Category:** Support\
**Tags:** python, jupyter, debug\
**Created:** [March 25, 2024, 1:51pm UTC](https://discourse.slicer.org/t/using-slicer-as-a-jupyter-kernel-how-to-set-up-a-variable-inspector/35054 "2024-03-25T13:51:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matteboo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/matteboo/32/66548_2.png) [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Post date:** [March 25, 2024, 1:51pm UTC](https://discourse.slicer.org/t/using-slicer-as-a-jupyter-kernel-how-to-set-up-a-variable-inspector/35054/1 "2024-03-25T13:51:43Z")

</div>

Hello,

I recently started to use Slicer as a Jupyter kernel. I’m setting up the environment and I’m trying to set up a variable inspector.  
I installed [this extension](https://github.com/jupyterlab-contrib/jupyterlab-variableInspector) however, it’s not working.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/d/1dff4db5bb79b9512a864d53a3f16f47c15b808c.png)

When I launch a notebook using the python 3 kernel, the extension works just fine. My guess is that the extension is not compatible with the slicer kernel.

My questions are:

- Is there a variable inspector for Jupyter lab compatible with 3D Slicer ?
- If not, is there a way to connect a debugger to the Jupyter lab and use that to analyse the variable?
