CogniDBG

// step-by-step debugger

Groq API key

Used to power the Python tracer and AI hints (via Groq's fast inference API). Sent directly from this tab — never persisted to disk. You'll re-enter it if you reload the page.

No key set — Python trace & hints disabled

Groq's API blocks direct browser calls (CORS). If requests fail, deploy the tiny proxy below and paste its URL here — leave blank to call Groq directly (works only where CORS isn't enforced, e.g. some local setups).

Calling Groq directly — will likely fail with a CORS error once deployed
source — script.js
— / —
Ready. Write or paste code, then Run trace.
Variables
Console 0
AI hints
Assistant
— no trace yet —
run your code to see live variable state per step
— console is empty —
— no hints yet —
hints are progressive: vague first, more specific if you reveal further. never the full solution.
— ask CogniDBG anything about this code —
it reads what's in the editor (and the last trace error, if any) and tells you plainly what's wrong and how to fix it. no vague nudging — that's what the hints tab is for.