roll: pigweed pw_system: Add `debugger-listen` and `debugger-wait-for-client` options

Add debugpy to pw_system console to ease attaching the VS code python
debugger to the console.  This is especially useful when the console is
invoked from inside a bazel sandox, for example:
`bazelisk run //pw_system:rp2350_system_example_console -- --debugger-listen`.

- `--debugger-listen` will start the listener on localhost:5678

- `--debugger-wait-for-client` will start the listener on localhost:5678 and halts the console
  until a debugger attaches. `--debugger-listen` is no required when `--debugger-wait-for-client`
  is specified..

Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/233752
Original-Revision: fd6b7a96cd142fcfbf979c2ebf3ea4ac2e342612

Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: 7698704f57a69f..fd6b7a96cd142f
Roller-URL: https://ci.chromium.org/b/8734619809303151137
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I375099b897928d61cabe3872419f35e3651e0764
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/240805
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
1 file changed
tree: ca59b9da0beca9786835edbcc96abf1fe531c13d
  1. .github/
  2. .vscode/
  3. apps/
  4. device/
  5. modules/
  6. system/
  7. targets/
  8. tools/
  9. web_app/
  10. .bazelignore
  11. .bazelrc
  12. .bazelversion
  13. .buildifier.json
  14. .clang-format
  15. .clangd.shared
  16. .gitignore
  17. .pw_console.yaml
  18. AUTHORS
  19. BUILD.bazel
  20. CONTRIBUTING.md
  21. LICENSE
  22. MODULE.bazel
  23. MODULE.bazel.lock
  24. OWNERS
  25. pigweed.json
  26. README.md
README.md

Sense

git clone https://pigweed.googlesource.com/pigweed/showcase/sense

Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.

Please visit Sense: An interactive tour through Pigweed to get started.