ipython / ipython/ipykernel

When importing `debugpy`, `PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING=1` should be set

Abierto
#1,004 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
734
Forks
412
Merge medio
1 d 5 h
PR fusionados (30 d)
8

Descripción

A new flag is available in `pydevd` which allows a user to step into library code without getting inside of IPython internals while doing so.

To make use of this, `PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING` must be set to `1` in the `os.environ` prior to importing `debugpy`.

See: https://github.com/microsoft/debugpy/issues/869 for more information.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by locating the ipykernel entry point that imports debugpy and review how os.environ is handled before that import. Use the pydevd flag described in the issue, and consider the change complete when importing debugpy sets the requested environment value beforehand and the relevant behavior is covered by the existing test suite.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
devtools
Tipo de issue
Nueva funcionalidad
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.