- Node.js 18+ and npm
- Gemini API key (get from https://makersuite.google.com/app/apikey)
- Navigate to web directory:
cd web- Install dependencies:
npm install- Create
.env.localfile:
cp .env.local.example .env.local- Add your Gemini API key to
.env.local:
GEMINI_API_KEY=your_api_key_here
- Run development server:
npm run dev- Navigate to extension directory:
cd extension- Install dependencies:
npm install- Compile the extension:
npm run compile-
Open the extension folder in VSCode
-
Press F5 to launch Extension Development Host
-
In the new VSCode window, configure your Gemini API key:
- Open Settings (Ctrl+,)
- Search for "bugsight"
- Add your API key
cd web
npm run build
npm startcd extension
npm run packageThis creates a .vsix file you can distribute.
Deploy to Vercel:
cd web
vercelPublish to VSCode Marketplace or distribute the .vsix file directly.
-
Web App:
- Paste an error and click "Analyze with AI"
- Check Dashboard for error history
- Toggle dark/light mode
- Download extension from Extension Hub
-
VSCode Extension:
- Select error text and run "BugSight: Explain Error"
- Check error history in sidebar
- Terminal error auto-detection
- If API calls fail, verify your Gemini API key
- Clear browser localStorage to reset error history
- For extension issues, check VSCode Developer Tools (Help > Toggle Developer Tools)