Fixes
- Fix invalid type annotation in test_pydev_monkey comprehension by Philip DePetro (@pdepetro) in #2033
- Fix PEP 768 code injection SyntaxError when temp path contains backslashes by Rich Chiodo (@rchiodo) with @Copilot in #2038
- Fix race between adapter connection publication and session attachment by Alexandre Perez (@aperez) in #2049
- Fix debugger hang when expanding objects with blocking property getters (#2053) by Rich Chiodo (@rchiodo) in #2055
- Fix duplicate stopped event when two threads hit a breakpoint at once by Alexandre Perez (@aperez) in #2056
- Avoid exceptions in environment diagnostics by Rich Chiodo (@rchiodo) in #2059
- Fix thread identity when the first traced call is another thread's is_alive() by Alexandre Perez (@aperez) in #2061
- Respect isolated mode when patching sys.path by Karan Dhaodiyal (@karandhaodiyal28-hash) in #2050
Enhancements
- Add trigger_exception_handler() for post-mortem debugging of caught exceptions by Emily (@nshepperd) in #1996
- Add lldb attach-to-PID option for debugpy on Linux by Philip DePetro (@pdepetro) in #2052
- Populate hitBreakpointIds in the DAP stopped event by Alexandre Perez (@aperez) in #2060
- Return the endpoint from listen() with the in-process adapter by Karan Dhaodiyal (@karandhaodiyal28-hash) in #2051
Infrastructure work
- Add Dependabot configuration for pip and GitHub Actions by Rich Chiodo (@rchiodo) in #2041
- Update vendored pydevd 3.4.1 -> 3.5.0 (maintenance refresh) by Rich Chiodo (@rchiodo) in #2044
- Pin secure test dependency floors and drop EOL Python 3.9/3.8 by Rich Chiodo (@rchiodo) in #2045
- Add more typing to debugpy and switch to 'standard' type checking mode by Rich Chiodo (@rchiodo) in #1637
- Add debugpy release agent by Rich Chiodo (@rchiodo) in #2062
- Pin GitHub Actions to full-length commit SHAs by Dan Fiedler (@danfiedler-msft) in #2063
- Add python 3.15 to tests by Finn Womack (@finnagin) in #2069
Thanks to Philip DePetro (@pdepetro), Rich Chiodo (@rchiodo), Emily (@nshepperd), Alexandre Perez (@aperez), Karan Dhaodiyal (@karandhaodiyal28-hash), Dan Fiedler (@danfiedler-msft), and Finn Womack (@finnagin) for the commits.
Full Changelog: v1.8.21...v1.8.22