← All tasks
pythonipython/ipykernel #770Not a task: already works

Debugger always disabled with ipykernel 6.4.0?

envgap__ipython__ipykernel-770

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
339d13ce11709ca64a434a4e136e7035e033a3eb
Manifest
pyproject.toml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

ipython/ipykernel #770 · read the original issue
Using the latest `6.4.0` version of `ipykernel`, it looks like the debugger is always disabled.



This was first noticed on Binder using this gist: https://gist.github.com/jtpio/6ce26381703355e0ef1da4af742b7f72



But can be reproduced locally:



```bash

mamba create -n tmp python -y

conda activate tmp



# install the latest versions

python -m pip install -U ipykernel debugpy jupyterlab



# start JupyterLab

jupyter lab

```



The spec seems to be installed with `debugger: false` on disk:



```

$ cat ${CONDA_PREFIX}/share/jupyter/kernels/python3/kernel.json

{

 "argv": [

  "python",

  "-m",

  "ipykernel_launcher",

  "-f",

  "{connection_file}"

 ],

 "display_name": "Python 3 (ipykernel)",

 "language": "python",

 "metadata": {

  "debugger": false

 }

}

```



And the kernelspecs return `debugger: false` for `ipykernel` at startup:



![image](https://user-images.githubusercontent.com/591645/132663961-5951a459-963a-49ba-be5c-cd46460b293d.png)



Dependencies:



```bash

$ pip list | grep -E "debugpy|ipykernel"

debugpy             1.4.1

ipykernel           6.4.0

```
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]