# Slicer kernel for jupyter notebook and python debugger setup in vscode

**URL:** <https://discourse.slicer.org/t/slicer-kernel-for-jupyter-notebook-and-python-debugger-setup-in-vscode/26087>\
**Category:** Support\
**Tags:** extensions-manager, python, jupyter\
**Created:** [November 5, 2022, 9:11pm UTC](https://discourse.slicer.org/t/slicer-kernel-for-jupyter-notebook-and-python-debugger-setup-in-vscode/26087 "2022-11-05T21:11:00Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![wRossw](https://avatars.discourse-cdn.com/v4/letter/w/90db22/32.png) [@wRossw](https://discourse.slicer.org/u/wRossw)\
**Post date:** [November 10, 2022, 10:57pm UTC](https://discourse.slicer.org/t/slicer-kernel-for-jupyter-notebook-and-python-debugger-setup-in-vscode/26087/6 "2022-11-10T22:57:54Z")

</div>

I have quick question. I tried following the steps outlined in [https://github.com/SlicerRt/SlicerDebuggingTools](https://github.com/SlicerRt/SlicerDebuggingTools) but may be missing something.

Setting up the following json file for a remote attachment for the debugger.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/e/4e4a44444cf35190a10f21f547635e1be8339e86.png)

I get the following connection error:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/2/628ce470a3d23715204a33456b855638d5a5b180.png)

I also tried following some of the advice on this thread ([https://discourse.slicer.org/t/developing-slicer-modules-in-visual-studio-visual-studio-code/9496/20](https://discourse.slicer.org/t/developing-slicer-modules-in-visual-studio-visual-studio-code/9496/20)) for setting up the correct python paths and autocomplete paths for vscode, but haven’t quite been able get autocompletion to work or recognize “import slicer” for example. From my understanding of this thread, it seems that getting a debugging connection alone will allow autocompletion?

Any help would be much appreciated! thanks!

---

_[View the full topic](https://discourse.slicer.org/t/slicer-kernel-for-jupyter-notebook-and-python-debugger-setup-in-vscode/26087)._
