Debug Buddy is your AI mentor — it helps you understand and resolve errors by offering thoughtful suggestions, encouraging you to think instead of instantly solving everything for you.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
DebugBuddy is your AI mentor — it helps you understand and resolve errors by offering thoughtful suggestions, encouraging you to think instead of instantly solving everything for you.
Features
Hover Error Explanations
Hover over any error or warning in your code to get instant AI-powered explanations and suggestions. No need to search for solutions - DebugBuddy provides context-aware help right where you need it.
AI-Powered Code Analysis
Get comprehensive code analysis with multiple specialized features:
Code Review - Comprehensive analysis for best practices and potential issues
Performance Analysis - Identify bottlenecks and optimization opportunities
Refactoring Suggestions - Improve code maintainability and structure
Security Analysis - Find vulnerabilities and security issues
Access all features through:
Right-click context menu → "Analyze Code with DebugBuddy..."
Command Palette → Individual analysis commands
Context menu → Direct access to each analysis type
Multi-Provider AI Support
Choose your preferred AI provider and model based on your needs:
OpenAI - Choose from GPT-4o, GPT-4o-mini, or other models
Anthropic - Select Claude 3.5 Sonnet, Claude 3 Opus, or other variants
Google Gemini - Pick Gemini 2.0 Flash, Gemini 1.5 Pro, or other models
Groq - Configure Llama 3.3 70B, Mixtral 8x7B, or other high-speed models
xAI - Use Grok Beta or other available models
OpenRouter - Access 200+ models from multiple providers through a single API
How to Use
First-Time Setup
Install DebugBuddy extension
Press Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows/Linux)
Type "Set API Key for DebugBuddy"
Select your AI provider (OpenAI, Anthropic, Gemini, Groq, xAI, or OpenRouter)
Paste your API key
Choose your preferred model (e.g., gpt-4o, claude-3-5-sonnet-latest, gemini-2.0-flash-exp)
Start coding!
Get Error Help
Hover over any red squiggly line (error) in your code
DebugBuddy automatically shows AI explanation
Read the suggestion and apply the fix
Review Your Code
Open any code file
Right-click in editor: "Analyze Code with DebugBuddy..."
Choose your analysis type:
Code Review - Best practices and code quality
Performance Analysis - Speed and efficiency improvements