# How to get restartable/interruptible kernels in VSCode (when using juliaup?)

**URL:** <https://discourse.julialang.org/t/how-to-get-restartable-interruptible-kernels-in-vscode-when-using-juliaup/100769>\
**Category:** Tooling\
**Tags:** vscode\
**Created:** [June 24, 2023, 2:27am UTC](https://discourse.julialang.org/t/how-to-get-restartable-interruptible-kernels-in-vscode-when-using-juliaup/100769 "2023-06-24T02:27:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chipbuster](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chipbuster/32/12463_2.png) [@chipbuster](https://discourse.julialang.org/u/chipbuster)\
**Post date:** [June 24, 2023, 2:27am UTC](https://discourse.julialang.org/t/how-to-get-restartable-interruptible-kernels-in-vscode-when-using-juliaup/100769/1 "2023-06-24T02:27:04Z")

</div>

As the title suggests, I’m unable to interrupt or restart kernels in VSCode. When I try to do so, one of two things happens:

1. Most of the time, the command doesn’t go through until the cell is finished executing.
2. Sometimes (more commonly if I try to do this from the Julia plugin sidebar instead of the main notebook controls), the kernel dies but the notebook frontend doesn’t seem to detect this, and will continue waiting on a dead kernel until I kill the entire `code` process. It won’t let me run more cells or issue new restart commands (probably because it thinks the kernel is still alive), and I’ve waiting for up to 30 minutes on these cells before giving up and restarting `code`.

I tried the suggestions over on [this post](https://discourse.julialang.org/t/cant-restart-kernel-in-vscode-jupyter-notebook/68136), including uninstalling the Jupyter plugin, but these don’t seem to work for me–the behavior I describe above doesn’t change. In particular, I’m using juliaup instead of the older installation methods, and I don’t know if that might be interfering with something. The kernel I’m using _is_ marked with “Julia VS Code extension”.

Would appreciate any suggestions or idiot-checks!

---

<div class="post-metadata">

**Author:** ![albheim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/albheim/32/34660_2.png) [@albheim](https://discourse.julialang.org/u/albheim)\
**Post date:** [June 26, 2023, 6:54am UTC](https://discourse.julialang.org/t/how-to-get-restartable-interruptible-kernels-in-vscode-when-using-juliaup/100769/2 "2023-06-26T06:54:16Z")

</div>

Opened an [issue](https://github.com/julia-vscode/julia-vscode/issues/3001) about problems in connection with that other thread, and though my main issue, that old kernels were left alive eating up my memory, seems to be resolved, there seems to still be some other problems. You can always add some examples to that issue so that if anyone takes a look they have more concrete examples of what currently does not work.
