nuttx-mirror/tools/gdb
xuxingliang 191dbcc4f1 gdb/debug: add debugpy to debug python code
Usage:
(gdb) debugpy
Waiting for connection at localhost:5678

In VSCode, add new configuration in launch.
{
  "name": "Python Debugger: Remote Attach",
  "type": "debugpy",
  "request": "attach",
  "connect": {
    "host": "localhost",
    "port": 5678
  }
}

and launch.

Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
2024-11-25 13:37:30 +08:00
..
nuttxgdb gdb/debug: add debugpy to debug python code 2024-11-25 13:37:30 +08:00
.gitignore tools/gdb: add pyproject.toml to build as a package 2024-11-23 13:09:16 +08:00
gdbinit.py tools/gdb: add pyproject.toml to build as a package 2024-11-23 13:09:16 +08:00
pyproject.toml tools/gdb: add pyproject.toml to build as a package 2024-11-23 13:09:16 +08:00
requirements.txt gdb/debug: add debugpy to debug python code 2024-11-25 13:37:30 +08:00