Reading stack traces with Grout Code

How the Debug workflow interprets terminal errors.

Written By Grout

Last updated 1 day ago

The Debug workflow works directly from your terminal's stack traces. This article explains what to expect.

From error to fix

  1. Run your code and let the error surface in the terminal.
  2. Open the Debug workflow β€” it reads the stack trace for you.
  3. It identifies the likely cause and proposes an inline diff fix.

[SCREENSHOT: A terminal stack trace being read by Debug]

If the first fix doesn't work

Run the code again so a fresh stack trace is produced, and let Debug propose another fix. Use Ask if you want the underlying cause explained.