Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Dbg – One CLI debugger for every language (AI-agent ready) (redknightlois.github.io)
5 points by redknight666 1 day ago | hide | past | favorite | discuss
AI agents are great at writing code but blind at runtime. They guess, print, and waste tokens.

I built dbg to give them a real debugger experience. Since it is backend based with the few I implemented (still at basic level) it can support 15+ languages with one simple CLI (still some work needed but it is functional as it is):

LLDB, Delve, PDB, JDB, node inspect, rdbg, phpdbg, GHCi, etc. Profilers too (perf, pprof, cProfile, Valgrind…)

I also added GPU profiling via `gdbg` (CUDA, PyTorch, Triton kernels). It auto-dispatches and shares the same unified interface. (Planning to bring those advanced concepts back to the main dbg).

Works with Claude & Codex (probably works on others but didn't try them)

Quick start: ``` curl -sSf https://raw.githubusercontent.com/redknightlois/dbg/main/ins... | sh dbg --init claude (for claude) ```

Then just say: “use dbg to debug the crash in src/foo.rs”

Docs: https://redknightlois.github.io/dbg/ GitHub (MIT Licensed): https://github.com/redknightlois/dbg

Would love feedback from anyone building agents. What languages or features are you missing most? Ping me at @federicolois on X or open issues.

 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: