Show HN: Simple AI-powered debugger in your terminal

by ajabhishon 9/11/2024, 5:57 PMwith 1 comments

Step 1: Install the package

$ `npm install -g aidebug`

Step 2: Setup the API key for Anthropic

$ `export ANTHROPIC_API_KEY=<PASTE_YOUR_OWN_API_KEY>`

Step 3: Now you can use the debug command to debug your commands.

$ `debug python average.py`

Video demo: https://www.loom.com/share/5afa2d7fd46c470bbc884675a77aec3c?...

by ajabhishon 9/11/2024, 9:53 PM

Sorry. Realized I added very few details. Always-On Debugger is a tool that enhances your terminal experience by automatically detecting errors and providing debugging assistance using AI. It acts as a wrapper around your existing terminal, intercepting commands and their outputs to offer real-time debugging support. It's really simple to use and install: just prefix your terminal command with "debug".

It was our AI devtool hackathon project. Wondering there is more to this idea to improve debugging experience in terminal or that's it!