Debugpy

Latest version: v1.8.12

Safety actively analyzes 706259 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 8

1.8.7

1.8.6

1.8.5

- To simplify command line usage, an entry point has been added to the debugpy package.
- If you install debugpy into an environment via pip, you can just run `debugpy` from that environment, instead of running `python -m debugpy`
- If you install debugpy into an isolated directory, the `debugpy` executable can be found in the `bin` directory inside of the install directory. In this case, you need to add the install directory to your `PYTHONPATH` in order for the imports to work.

- To simplify command line usage, switches can now be read from the environment.
- To do this, use the variable `DEBUGPY_EXTRA_ARGV` and add whatever command-line switches you like.
- For example, `set DEBUGPY_EXTRA_ARGV=--connect 5678` will allow you to omit the `--connect` switch from the command line.
- If the same switch is found on both the command line and the environment, the one from the environment is ignored.
- The switch that specifies the "target" MUST be on the command line (`filename`, `-m <module>`, `-c <code>`, or `--pid <id>`)

1.8.2

Fixed an issue where ApiScan couldn't scan some of our binaries correctly. This involved changing some linker flags and re-compiling/re-linking some of the pydevd executables and dlls.

This doesn't affect debugpy logic in any way.

1.8.1

Python 3.12 is now fully supported.

Fixes: 1408, 1477

Enhancements: 1337

1.8.0

Fixes 1379.

Drops Python 3.7 support. Please use [debugpy v1.7.0](https://github.com/microsoft/debugpy/releases/tag/v1.7.0) if you need to debug Python 3.7.

Page 2 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.