Settings

Theme

Show HN: Stop AI Debugging with Print(). Use a Debugger

github.com

2 points by almogbaku 17 hours ago · 0 comments · 1 min read

Reader

Coding agents debug like a junior dev in 2005: they spam print() and loop until the bug disappears or eats your context window.

TL;DR: I gave my agent a debugger and saw it go from 5-6 print-debug cycles down to 1 targeted stop.

I built a small CLI that wraps the Debug Adapter Protocol and exposes basic debugger actions so agents can call them directly. Each command blocks until execution pauses, then returns the full context.

The CLI is just a thin layer. The useful part is a debugging “skill” on top that teaches the agent how to debug methodically with it, define clear hypotheses, validate/invalidate them, etc.

Supports Python, Go, Node/TypeScript, Rust, and C/C++.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection