5

I am using jupyter lab and trying to embedd the debugger in it.

Windows 10, 64 bit

Here are the steps I followed:

conda create --name ml python=3.8.2 conda activate ml conda install xeus-python notebook jupyterlab -c conda-forge jupyter labextension install @jupyterlab/debugger 

Then I start jupyter lab and it opens in Google Chrome:

Though I get the debugger button in xpython notebook but I am not able to turn it on. Here is the screenshot.

enter image description here

Can someone help how to turn on the debugger??

7
  • So the button is unresponsive? Have you tried restarting from anaconda navigator? Commented May 5, 2020 at 21:19
  • What dark theme are using, it may also interfere with it. Commented May 5, 2020 at 21:20
  • yes tried restarting...didn't help. Commented May 5, 2020 at 22:02
  • Try running it with the default theme or on another browser and see if it works Commented May 5, 2020 at 22:03
  • Checked with default theme also, still button is un-responsive. :( Commented May 5, 2020 at 22:45

2 Answers 2

5
+50

A kernel with support for debugging is required to be able to use the debugger. Currently xeus-python is such a kernel, but the default IPython kernel will support the debugger soon too.

It is generally recommended to create a new conda environment to install the dependencies:

conda create -n jupyterlab-debugger -c conda-forge xeus-python notebook jupyterlab conda activate jupyterlab-debugger 

If running an old version of JupyterLab (2.x) you will also need to install nodejs to install the extension manually (note that it comes-preinstalled since JupyterLab 3.x so you do not need to run the commands below if using up-to date JupyterLab):

conda install nodejs jupyter labextension install @jupyterlab/debugger 
Sign up to request clarification or add additional context in comments.

Comments

0

I am suspecting that it may be to do with versioning issues or have not met the prerequisites. There are also no reported similar issues so it must be to do with your system.

Make sure you meet these

JupyterLab 2.0+ xeus-python 0.7.1+ notebook 6+

And also consider doing a fresh install of Anaconda. This fixes it in most cases.

2 Comments

I really can't tell where this could be going wrong. You can open an issue on GitHub and you will likely get help from the contributors of the library.
Yes, they updated the Read.me document. We need to install nodejs

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.