Missing Debugger Option

I have JupyterLab 3.0.16 and ipyKernel 6.0 but yet do not see the Enable Debugger option in the top right next to python3 (ipykernel).

I believe I have all the packages. Are there extensions that need to be enabled?

My packages are:

Package Version Location


anyio 3.2.1
appmode 0.8.0
argon2-cffi 20.1.0
async-generator 1.10
attrs 21.2.0
Babel 2.9.1
backcall 0.2.0
beautifulsoup4 4.9.3
bleach 3.3.0
certifi 2021.5.30
cffi 1.14.5
chardet 4.0.0
cron-descriptor 1.2.24
cryptography 3.4.4
cycler 0.10.0
debugpy 1.3.0
decorator 5.0.9
defusedxml 0.7.1
Deprecated 1.2.6
entrypoints 0.3
idna 2.10
ipykernel 6.0.1
ipython 7.25.0
ipython-genutils 0.2.0
ipyvue 1.5.0
ipyvuetify 1.7.0
ipywidgets 7.6.3
jedi 0.18.0
Jinja2 3.0.1
json5 0.9.6
jsonschema 3.2.0
jupyter-client 6.1.12
jupyter-core 4.7.1
jupyter-server 1.9.0
jupyterlab 3.0.16
jupyterlab-pygments 0.1.2
jupyterlab-server 2.6.0
jupyterlab-widgets 1.0.0
kiwisolver 1.3.1
Mako 1.1.4
MarkupSafe 2.0.1
matplotlib 3.4.2
matplotlib-inline 0.1.2
mistune 0.8.4
nbclassic 0.3.1
nbclient 0.5.3
nbconvert 6.1.0
nbformat 5.1.3
nest-asyncio 1.5.1
notebook 6.4.0
numpy 1.20.3
p2j 1.3.2
packaging 21.0
pandas 1.2.4
pandocfilters 1.4.3
parsedatetime 2.6
parso 0.8.2
pexpect 4.8.0
pickleshare 0.7.5
Pillow 8.3.0
pip 21.1.2
plotly 4.14.3
prometheus-client 0.11.0
prompt-toolkit 3.0.19
ptyprocess 0.7.0
pycparser 2.20
Pygments 2.9.0
pyOpenSSL 20.0.1
pyparsing 2.4.7
pyrsistent 0.18.0
python-dateutil 2.8.1
pytz 2021.1
pyzmq 22.1.0
recurrent 0.4.0
requests 2.25.1
requests-unixsocket 0.2.0
retrying 1.3.3
scipy 1.6.3
Send2Trash 1.7.1
setuptools 57.0.0
six 1.16.0
sniffio 1.2.0
soupsieve 2.2.1
terminado 0.10.1
testpath 0.5.0
tornado 6.1
traitlets 5.0.5
tzlocal 2.0.0
urllib3 1.26.6
wcwidth 0.2.5
webencodings 0.5.1
websocket-client 1.1.0
wheel 0.36.2
widgetsnbextension 3.5.1
wrapt 1.12.1

1 Like

That’s strange. For me it sometimes takes a few seconds to show up but it is working with similar package versions. Is there a debugger icon in the sidebar? Are there any error messages in the web developer console, or in the terminal from which the JupyterLab was started?

No errors in the terminal where it was started. I am running from a Docker image calling: “jupyter notebook” with JUPYTER_ENABLE_LAB=yes if that matters

Here is screen shot of web console. There are some content blockers for the npmjs extension registry and 2 fetch errors in PUT commands. Both debug to same spot you see in debugger.

From the calling terminal here are all warnings/errors:

        [W 2021-07-04 00:48:47.533 LabApp] 'allow_origin_pat' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
        [W 2021-07-04 00:48:47.533 LabApp] 'base_url' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2021-07-04 00:48:47.533 LabApp] 'terminals_enabled' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2021-07-04 00:48:47.533 LabApp] 'terminals_enabled' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
        [W 2021-07-04 00:48:47.533 LabApp] 'ip' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
        [W 2021-07-04 00:48:47.533 LabApp] 'token' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2021-07-04 00:48:47.534 LabApp] 'allow_remote_access' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
	[W 2021-07-04 00:58:14.588 LabApp] Could not determine jupyterlab build status without nodejs
       [W 00:49:42.417 NotebookApp] No such channel: 'control'
1 Like

I don’t know enough about the debugger but I think that the last message [W 00:49:42.417 NotebookApp] No such channel: 'control' and the use of the notebook server instead of jupyter_server might be related. I think if @jtp or @JohanMabille might be able to clarify if jupyter_server is needed for the debugger to work correctly (or how to fix the lack of control channel availability).

I switched to calling :jupyter lab" instead of notebook and still do not see debugger option. I am still seeing the missing ‘control’ error but from ServerApp instead of NotebookApp.

[W 2021-07-05 00:45:04.226 ServerApp] No such channel: 'control'

Can anyone advise as to why I am getting a No such channel: ‘control’ error? Thanks

See jupyterlab/jupyterlab - Gitter. I would advise to try creating a fresh virtual environment; If you are using conda, I think that some of the packages might be loaded from a different path, otherwise some of the packages might be outdated but it is hard for me to pinpoint which one to update, so I would just create a fresh env.

Yes that would be a good way to make sure everything is correctly installed.

Although the dependencies listed in the top comment look good at first glance.

1 Like

I do not run it in a conda or any virtual env. I am running inside a docker image with just the packages I have listed installed. i updated everything to latest and still see the debugger missing.

In addition to the control error. i am also seeing [W 2021-07-13 20:52:53.628 LabApp] Could not determine jupyterlab build status without nodejs Is nodejs required?

Package                Version      Location
---------------------- ------------ ---------------------------------------
anyio                  3.2.1
appmode                0.8.0
argon2-cffi            20.1.0
async-generator        1.10
attrs                  21.2.0
Babel                  2.9.1
backcall               0.2.0
beautifulsoup4         4.9.3
bleach                 3.3.0
certifi                2021.5.30
cffi                   1.14.6
charset-normalizer     2.0.1
cron-descriptor        1.2.24
cryptography           3.4.7
cycler                 0.10.0
debugpy                1.3.0
decorator              5.0.9
defusedxml             0.7.1
Deprecated             1.2.12
entrypoints            0.3
idna                   3.2
ipykernel              6.0.1
ipython                7.25.0
ipython-genutils       0.2.0
ipyvue                 1.5.0
ipyvuetify             1.8.0
ipywidgets             7.6.3
jedi                   0.18.0
Jinja2                 3.0.1
json5                  0.9.6
jsonschema             3.2.0
jupyter-client         6.1.12
jupyter-core           4.7.1
jupyter-server         1.9.0
jupyterlab             3.0.16
jupyterlab-pygments    0.1.2
jupyterlab-server      2.6.1
jupyterlab-widgets     1.0.0
kiwisolver             1.3.1
Mako                   1.1.4
MarkupSafe             2.0.1
matplotlib             3.4.2
matplotlib-inline      0.1.2
mistune                0.8.4
nbclassic              0.3.1
nbclient               0.5.3
nbconvert              6.1.0
nbformat               5.1.3
nest-asyncio           1.5.1
notebook               6.4.0
numpy                  1.21.0
p2j                    1.3.2
packaging              21.0
pandas                 1.3.0
pandocfilters          1.4.3
parsedatetime          2.6
parso                  0.8.2
pexpect                4.8.0
pickleshare            0.7.5
Pillow                 8.3.1
pip                    21.1.2
plotly                 5.1.0
prometheus-client      0.11.0
prompt-toolkit         3.0.19
ptyprocess             0.7.0
pycparser              2.20
Pygments               2.9.0
pyOpenSSL              20.0.1
pyparsing              2.4.7
pyrsistent             0.18.0
python-dateutil        2.8.1
pytz                   2021.1
pyzmq                  22.1.0
recurrent              0.4.0
requests               2.26.0
requests-unixsocket    0.2.0
scipy                  1.7.0
Send2Trash             1.7.1
setuptools             57.1.0
six                    1.16.0
sniffio                1.2.0
soupsieve              2.2.1
tenacity               8.0.1
terminado              0.10.1
testpath               0.5.0
tornado                6.1
traitlets              5.0.5
tzlocal                2.1
urllib3                1.26.6
wcwidth                0.2.5
webencodings           0.5.1
websocket-client       1.1.0
wheel                  0.36.2
widgetsnbextension     3.5.1
wrapt                  1.12.1

No, Node.js is not required. It works for me with jupyter/datascience-notebook. Here is my pip list:

Package                       Version
----------------------------- -------------------
alembic                       1.6.5
altair                        4.1.0
anyio                         3.2.1
appdirs                       1.4.4
argon2-cffi                   20.1.0
async-generator               1.10
attrs                         21.2.0
Babel                         2.9.1
backcall                      0.2.0
backports.functools-lru-cache 1.6.4
beautifulsoup4                4.9.3
bleach                        3.3.0
blinker                       1.4
bokeh                         2.3.3
Bottleneck                    1.3.2
brotlipy                      0.7.0
cached-property               1.5.2
certifi                       2021.5.30
certipy                       0.1.3
cffi                          1.14.5
chardet                       4.0.0
click                         8.0.1
cloudpickle                   1.6.0
conda                         4.10.2
conda-package-handling        1.7.3
cryptography                  3.4.7
cycler                        0.10.0
Cython                        0.29.23
cytoolz                       0.11.0
dask                          2021.6.2
debugpy                       1.3.0
decorator                     5.0.9
defusedxml                    0.7.1
dill                          0.3.4
distributed                   2021.6.2
entrypoints                   0.3
fsspec                        2021.6.1
gmpy2                         2.1.0b5
greenlet                      1.1.0
h5py                          3.3.0
HeapDict                      1.0.1
idna                          2.10
imagecodecs                   2021.6.8
imageio                       2.9.0
importlib-metadata            4.6.1
ipykernel                     6.0.1
ipympl                        0.7.0
ipython                       7.25.0
ipython-genutils              0.2.0
ipywidgets                    7.6.3
jedi                          0.18.0
Jinja2                        3.0.1
joblib                        1.0.1
json5                         0.9.5
jsonschema                    3.2.0
jupyter-client                6.1.12
jupyter-core                  4.7.1
jupyter-server                1.9.0
jupyter-telemetry             0.1.0
jupyterhub                    1.4.1
jupyterlab                    3.0.16
jupyterlab-pygments           0.1.2
jupyterlab-server             2.6.0
jupyterlab-widgets            1.0.0
kiwisolver                    1.3.1
llvmlite                      0.36.0
locket                        0.2.0
Mako                          1.1.4
mamba                         0.14.1
MarkupSafe                    2.0.1
matplotlib                    3.4.2
matplotlib-inline             0.1.2
mistune                       0.8.4
mock                          4.0.3
mpmath                        1.2.1
msgpack                       1.0.2
nbclassic                     0.3.1
nbclient                      0.5.3
nbconvert                     6.1.0
nbformat                      5.1.3
nest-asyncio                  1.5.1
networkx                      2.3
notebook                      6.4.0
numba                         0.53.1
numexpr                       2.7.3
numpy                         1.21.0
oauthlib                      3.1.1
olefile                       0.46
packaging                     21.0
pamela                        1.0.0
pandas                        1.3.0
pandocfilters                 1.4.2
parso                         0.8.2
partd                         1.2.0
patsy                         0.5.1
pexpect                       4.8.0
pickleshare                   0.7.5
Pillow                        8.3.1
pip                           21.1.3
pooch                         1.4.0
prometheus-client             0.11.0
prompt-toolkit                3.0.19
protobuf                      3.17.2
psutil                        5.8.0
ptyprocess                    0.7.0
pycosat                       0.6.3
pycparser                     2.20
pycurl                        7.43.0.6
Pygments                      2.9.0
PyJWT                         2.1.0
pyOpenSSL                     20.0.1
pyparsing                     2.4.7
pyrsistent                    0.17.3
PySocks                       1.7.1
python-dateutil               2.8.1
python-editor                 1.0.4
python-json-logger            2.0.1
pytz                          2021.1
PyWavelets                    1.1.1
PyYAML                        5.4.1
pyzmq                         22.1.0
requests                      2.25.1
requests-unixsocket           0.2.0
rpy2                          3.4.5
ruamel-yaml-conda             0.15.80
ruamel.yaml                   0.17.10
ruamel.yaml.clib              0.2.2
scikit-image                  0.18.2
scikit-learn                  0.24.2
scipy                         1.7.0
seaborn                       0.11.1
Send2Trash                    1.7.1
setuptools                    49.6.0.post20210108
simplegeneric                 0.8.1
six                           1.16.0
sniffio                       1.2.0
sortedcontainers              2.4.0
soupsieve                     2.0.1
SQLAlchemy                    1.4.20
statsmodels                   0.12.2
sympy                         1.8
tables                        3.6.1
tblib                         1.7.0
terminado                     0.10.1
testpath                      0.5.0
threadpoolctl                 2.1.0
tifffile                      2021.7.2
toolz                         0.11.1
tornado                       6.1
tqdm                          4.61.2
traitlets                     5.0.5
typing-extensions             3.10.0.0
tzlocal                       2.1
urllib3                       1.26.6
wcwidth                       0.2.5
webencodings                  0.5.1
websocket-client              0.57.0
wheel                         0.36.2
widgetsnbextension            3.5.1
xlrd                          2.0.1
zict                          2.0.0
zipp                          3.5.0

Just to be clear by jupyter/datascience-notebook I mean: docker-stacks/datascience-notebook at master · jupyter/docker-stacks · GitHub