بنقرة واحدة
debugging-guide
How to debug issues in workstream. Use when investigating bugs or unexpected behavior.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
How to debug issues in workstream. Use when investigating bugs or unexpected behavior.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Definition of done checklist for workstream PRs. Use when preparing a PR for review.
How to set up a local development environment for workstream. Use when onboarding or resetting your dev environment.
How to run end-to-end tests for workstream. Use when verifying the full dashboard flow.
How to run unit tests for workstream. Use when writing, modifying, or verifying tests before submitting a PR.
| name | debugging-guide |
| description | How to debug issues in workstream. Use when investigating bugs or unexpected behavior. |
Drop into a debugger at a specific point:
import pdb; pdb.set_trace() # or: breakpoint()
Run pytest with output visible:
pytest -s -v tests/test_config.py
Debug a specific test:
pytest --pdb tests/test_config.py::test_name
Workstream uses Python's logging module. Enable debug logging:
import logging
logging.basicConfig(level=logging.DEBUG)
Check the logger name pattern: dashboard.<module> (e.g., dashboard.readiness.scanner).
.env varslsof -ti tcp:8080)GITHUB_PAT is set in .env