Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make (custom Python) kernels support debugging? #483

Open
ChanceHarrison opened this issue May 12, 2023 · 1 comment
Open

How to make (custom Python) kernels support debugging? #483

ChanceHarrison opened this issue May 12, 2023 · 1 comment

Comments

@ChanceHarrison
Copy link

"JupyterLab ships with a Debugger front-end by default." "For the debugger to be enabled and visible, a kernel with support for debugging is required." from JupyterLab docs

When I use the default Python 3 (ipykernel), I can use debugging, but I can't use debugging on any kernel defined in kernels.nix.

For example: in kernels.nix:

{pkgs, ...}: {
  kernel.python.trivial = {
    enable = true;
  };
  /* [...other kernels...] */
}

Results in:
image

My rudimentary understanding is that these kernels are just ipykernel under the hood, so I'm not sure why debugging doesn't work?

Thus, this issue. Any assistance on getting debugging to work on custom kernels would be much appreciated. Let me know if I can provide additional information/context myself. Thanks!

GTrunSec added a commit to GTrunSec/jupyterWith that referenced this issue Nov 4, 2023
@GTrunSec
Copy link
Collaborator

GTrunSec commented Nov 4, 2023

solved by: da28e53

the bugger will be enabled by default.

GTrunSec added a commit to GTrunSec/jupyterWith that referenced this issue Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants