SuperAPI AI Directory

debugging

Coding & development

View repository

Updated 10-15 16:48

About this skill

Debugging

Use this skill for runtime issue investigation in Litestar services.

Workflow

  1. Enable safe debug settings in local environments only.
  2. Reproduce with minimal route/test case.
  3. Inspect logs, exception handlers, and middleware interactions.
  4. Fix root cause and add regression tests.

Checklist

  • Never expose debug mode in production.
  • Capture request context for failures.
  • Verify both success and failure response contracts after fixes.

Litestar References