VS Code Extension
Install the DebuggAI extension for browser testing.
Installation Methods
VS Code Marketplace
- Open VS Code
- Press
Cmd+Shift+X
(Extensions panel) - Search "DebuggAI"
- Click Install
Command Line
code --install-extension debugg-ai.debugg-ai
Manual Installation
- Download
.vsix
from GitHub Releases - VS Code → Extensions →
...
→ Install from VSIX
Setup
1. Sign In
- Press
Cmd+Shift+P
- Type "DebuggAI: Sign In"
- Create account at debugg.ai
2. Configure Settings
Press Cmd+,
→ Search "DebuggAI":
Essential Settings:
- Local Port: Default 3000
- Auto-Start Testing: Enable commit-based testing
- Telemetry: Anonymous usage data (optional)
3. Verify Installation
- Start your app:
npm run dev
- Press
Cmd+Alt+C
- Enter test: "Test homepage loads correctly"
Requirements
System Requirements
- VS Code: Version 1.60+
- Node.js: Version 16+ (if using local development)
- Operating System: macOS, Windows, Linux
Network Requirements
- Internet connection for AI processing
- Localhost access (ports 3000-8080)
- Firewall allows outbound HTTPS
Key Shortcuts
Primary Commands:
Cmd+Alt+C
- Create E2E testCmd+L
- Open AI chatCmd+I
- Edit modeCmd+Shift+R
- Debug terminal
Secondary Commands:
Cmd+Alt+E
- Generate test suiteCmd+Shift+P
→ "DebuggAI" - All commands
Extension Settings
Core Configuration
settings.json
{
"debuggAI.localPort": 3000,
"debuggAI.autoTesting": true,
"debuggAI.telemetry": true,
"debuggAI.timeout": 30000
}
Advanced Options
settings.json
{
"debuggAI.browsers": ["chromium", "firefox"],
"debuggAI.viewport": {
"width": 1280,
"height": 720
},
"debuggAI.retries": 2,
"debuggAI.notifications": true
}
Workspace Configuration
Project-Level Settings
Create .vscode/settings.json
:
.vscode/settings.json
{
"debuggAI.localPort": 8080,
"debuggAI.testPatterns": [
"components/**",
"pages/**"
]
}
Git Integration
Add to .gitignore
:
# DebuggAI
.debuggai/
test-results/
Troubleshooting
Extension Not Loading
# Check VS Code version
code --version
# Reinstall extension
code --uninstall-extension debugg-ai.debugg-ai
code --install-extension debugg-ai.debugg-ai
Command Not Working
- Restart VS Code
- Check extension is enabled
- Verify DebuggAI account is signed in
Localhost Connection Issues
- Verify app is running:
curl localhost:3000
- Check firewall settings
- Try different port in settings
API Connection Problems
- Check internet connection
- Verify account is active
- Sign out and sign in again
Updates
Auto-Updates
VS Code auto-updates extensions by default.
Manual Update
- Extensions panel
- Find DebuggAI
- Click "Update" if available
Release Notes
Check CHANGELOG.md for latest features.
Uninstall
Remove Extension
- Extensions panel → DebuggAI → Uninstall
- Restart VS Code
Clean Removal
# Remove extension data
rm -rf ~/.vscode/extensions/debugg-ai.*
rm -rf ~/.config/Code/User/globalStorage/debugg-ai.*