# What changed in debugpy

> 20 changes in debugpy 1 from its official release notes, upgrade guides and advisories: 2 breaking, 3 new APIs and options. Each one cited. Sources checked 2026-10-21. HTML: https://unstale.sh/pypi/debugpy/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## debugpy 1

### Breaking changes

- A ContinueRequest with a specific threadId no longer resumes all threads in the in-process adapter. (1.8.21) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.21)
- The evaluate result is returned in the DAP response body instead of being written to stdout. (1.8.21) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.21)

### New APIs and options

- Adds an LLDB attach-to-PID option for debugpy on Linux. (1.8.22) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.22)
- Adds trigger_exception_handler() for post-mortem debugging of caught exceptions. (1.8.22) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.22)
- An option is added to ignore all system exit codes. (1.8.21) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.21)

### Behavior and default changes

- Adds support for more architectures. (1.8.20) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.20)
- Uses remote_exec when available. (1.8.20) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.20)

### Fixes and other changes

- Populates hitBreakpointIds in the DAP stopped event. (1.8.22) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.22)
- Respects isolated mode when patching sys.path. (1.8.22) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.22)
- Returns the endpoint from listen() when using the in-process adapter. (1.8.22) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.22)
- Prevents the debugger from hanging when expanding objects with blocking property getters. (1.8.22) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.22)
- Fixes a SyntaxError when the temporary path contains backslashes. (1.8.22) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.22)
- Prevents a duplicate stopped event when two threads hit a breakpoint at once. (1.8.22) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.22)
- Arguments to `-c` that are bytes rather than strings are handled. (1.8.21) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.21)
- Evaluation of variables from chained exception frames is fixed. (1.8.21) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.21)
- The dlerror output is displayed when dlopen fails. (1.8.21) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.21)
- Evaluation failures display an error message in the hover context. (1.8.21) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.21)
- An invalid scopes request no longer crashes the debug session. (1.8.21) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.21)
- The variable resolver skips uninitialized slots. (1.8.21) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.21)
- Fixes exceptions caused by annotations in Python 3.14. (1.8.20) — [release notes](https://github.com/microsoft/debugpy/releases/tag/v1.8.20)
