micropython-lib/python-ecosys
Andrew Leech 5d491e0227 debugpy: Fix VS Code path mapping to prevent read-only file copies.
When breakpoints are hit, VS Code was opening read-only copies of source
files instead of the original workspace files due to path mismatches between
VS Code's absolute paths and MicroPython's runtime paths.

Changes:
- Add path mapping dictionary to track VS Code path <-> runtime path relationships
- Enhance breakpoint matching to handle relative paths and basename matches
- Update stack trace reporting to use mapped VS Code paths
- Add debug logging for path mapping diagnostics
- Fix VS Code launch configuration (debugpy -> python, enable logging)

This ensures VS Code correctly opens the original editable source files
when debugging, rather than creating read-only temporary copies.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
2025-06-16 12:12:30 +10:00
..
aiohttp aiohttp: Allow headers to be passed to a WebSocketClient. 2025-04-13 00:20:58 +10:00
cbor2 all: Apply Ruff 0.11.6 reformatting changes. 2025-04-24 16:54:10 +10:00
debugpy debugpy: Fix VS Code path mapping to prevent read-only file copies. 2025-06-16 12:12:30 +10:00
iperf3 all: Enable ruff E401 and E402 import lints. 2024-05-17 17:06:33 +10:00
pyjwt all: Standardise x.y.z versioning for all packages. 2023-07-23 11:48:57 +10:00
requests requests: Use the host in the redirect url, not the one in headers. 2025-04-12 10:47:56 +10:00
README.md top: Update top-level docs. 2022-12-16 17:16:03 +11:00

README.md

Python-ecosystem packages

These MicroPython versions of common Python packages, typically found on PyPI.

If a package has the same name as a PyPI package, then it should match at least some subset of the functionality.

Future plans

  • More organised directory structure based on library purpose (e.g. drivers, network, etc).