-
Notifications
You must be signed in to change notification settings - Fork 135
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
Comments
GTrunSec
added a commit
to GTrunSec/jupyterWith
that referenced
this issue
Nov 4, 2023
solve tweag#483, and enable the debugger by default
solved by: da28e53 the bugger will be enabled by default. |
GTrunSec
added a commit
to GTrunSec/jupyterWith
that referenced
this issue
Nov 4, 2023
solve tweag#483, and enable the debugger by default
GTrunSec
added a commit
that referenced
this issue
Nov 24, 2024
* chore: enable 4 Systems support * chore: update jupyterlab * refactor: fix python kernel build * refactor: move jupyterlabArgs to modules.types.poetry * refactor: add notebookConfig option for the jupyterlab * refactor: fix nix-kernel * chore: update ocaml kernel * chore: update elm kernel * chore(python): add example for the native kernel * chore(fix): typescript kernel with latest nixpkgs * refactor: use juliaWithPackage * refactor: add mkPoertyKernel * fix: use poetry2nix pull 1329 * fix: haskellCompiler use ghc943 * fix: #527 missing logo file * chore(docs): clean docs deps * Revert "Remove julia example, since it does not build anymore" This reverts commit 0c86802. * Revert "Remove scala example, since it does not build anymore" This reverts commit daf5e19. * fix: #524 internal the kernelModuleDir * chore: update locks and void unused transitive inputs * feat: enrich julia example * refactor: apply nixpkgsArg by default * fix(haskell): enrich extraPackgesTypes by @teto * chore(templates): add the runtimePackages use case for the #528 * feat(kernelArgs): add extraKernelSpc for extending the spc solve #483, and enable the debugger by default * chore: update poetry2nix * chore: remove nixpkgs-julia(upstream merged) * fix: add space escape * add dotnet kernel for C# and F# * dotnet: add zlib and openssl to runtimeDeps --------- Co-authored-by: guangtao <[email protected]>
closes by #524 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"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
:Results in:
![image](https://private-user-images.githubusercontent.com/7481945/238064721-1063f23d-ecec-4121-b5c6-8e97347f2f57.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5ODExMjAsIm5iZiI6MTczODk4MDgyMCwicGF0aCI6Ii83NDgxOTQ1LzIzODA2NDcyMS0xMDYzZjIzZC1lY2VjLTQxMjEtYjVjNi04ZTk3MzQ3ZjJmNTcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMDIxMzQwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTU1YTA1NzlkNTAyN2FkZjhmMmVmMGNhM2I2N2ZmOWY3ZTNkYjg4MzczYzcyZTIyZWU4ZDYzNjM1NzMyY2U4OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.WBjHekN5XuW1-Ko1fxexg5pnLIjsWIrcuzPaRn2pi6k)
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!
The text was updated successfully, but these errors were encountered: