Open telamonian opened 2 years ago
Is there a workaround for this issue? Is there any other way to launch Jupyter Lab server in a debugger like IntelliJ?
I was able to get past this by explicitly enabling the jupyterlab
extension (via terminal) before launching:
jupyter server extension enable jupyterlab
Description
launching jupyterlab via
used to work. Now it doesn't.
The problem traces back to the
initialize
function:https://github.com/jupyter-server/jupyter_server/blob/6d84507500878236ea451ac040264ce641fd17ae/jupyter_server/serverapp.py#L2389-L2393
In my case,
starter_extension == "lab"
. Starting lab using thejupyter lab
entry point correctly populates theself.extension_manager.extension_points
dict with alab
key. However, starting lab using thepython -m jupyterlab.labapp ...
cmd populates theself.extension_manager.extension_points
dict with a__main__
key (same value either way).Reproduce
Install jlab and try running the above
python -m ...
commandExpected behavior
Launching an
ExtensionApp
viapython -m ...
and related methods should work as previouslyContext
Here's the relevant output from my terminal