When importing `debugpy`, `PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING=1` should be set
- Vorherrschende Sprache
- Python
- Sterne
- 734
- Forks
- 412
- Ø Merge
- 1 T. 5 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- devtools
- Issue-Typ
- Feature
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100