Using the Debug workflow

Turn terminal stack traces into inline red-to-green diff fixes.

Written By Grout

Last updated 1 day ago

The Debug workflow reads terminal stack traces and provides inline red-to-green diff fixes β€” so you go from an error to a working fix without leaving the IDE.

How it works

  1. When your code throws an error, open the Debug workflow.
  2. It reads the terminal stack trace.
  3. It proposes a fix as an inline diff β€” red for the broken code, green for the correction.
  4. Review the diff and apply it.

[SCREENSHOT: Debug workflow showing a red-to-green diff fix]

Why red-to-green diffs

Seeing exactly what changes β€” and why β€” keeps you learning from each fix instead of just pasting a solution.