composer-web
composer-web copied to clipboard
Cursor extension that forwards frontend errors and screenshots to composer in one-click, making development seamless for you. Download here: https://marketplace.visualstudio.com/items?itemName=SaketSa...
Composer Web Extension

A powerful Cursor extension that captures live browser content and logs directly into Composer. Perfect for debugging, documentation, and sharing web content with context.
Features
- 📸 Smart Capture: One shortcut to connect and capture everything
- 📊 Real-time Monitoring: Console logs and network requests
- 🔍 Log Filtering: Customizable filtering for console logs
- 🎯 Multi-tab Support: Select from any open tab in your debugging browser
- 📱 iOS Simulator Integration (Beta): Capture iOS simulator screenshots
- ⚡ Advanced Options: Additional commands for specific capture needs
- 🎛️ Keybinding Management: Customize keybindings directly from the new settings panel.
How It Works
-
Connect to a Tab:
- Press
Cmd/Ctrl + ;or click the connect button in the status bar - Select your target tab from the list
- The extension starts monitoring console logs and network requests
- Press
-
Monitor Activity:
- The status bar shows which tab is being monitored
- All console logs and network requests are collected in real-time
- Logs persist until you clear them or disconnect
-
Capture State:
- Press
Cmd/Ctrl + ;again or click the capture button - The extension captures everything:
- A full-page screenshot
- All console logs since connection
- All network requests since connection
- Everything is sent directly to Composer
- Press
-
iOS Simulator Integration (Beta):
- Enable in Settings Panel under "Beta Features"
- Connect to a running iOS simulator
- Capture screenshots from iOS apps
- Send directly to Composer for AI assistance
Quick Start
-
Launch Chrome with remote debugging:
# macOS open -n -a "Google Chrome" --args --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug-profile # Windows "C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir=%TEMP%\chrome-debug-profile # Linux google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug-profile -
Press
Cmd/Ctrl + ;to connect and capture!
Additional Features
Available through Command Palette (Cmd/Ctrl + Shift + P) or keyboard shortcuts:
- Clear logs:
Cmd/Ctrl + Shift + ; - Send only logs:
Cmd/Ctrl + ' - Send only screenshot:
Cmd/Ctrl + Shift + ' - iOS Simulator: Available in command palette when enabled
Usage Tips
-
Status Bar Indicator:
- 🔌 Not Connected: Click to connect to a tab
- 👁️ Connected: Click to capture current tab state
- 📱 iOS Simulator: Shows connected simulator status
-
Best Practices:
- Wait for page to load completely
- Clear logs when starting new session
- Use fresh Chrome profile for best results
- Use specific commands when you need just logs or screenshots
- Keybinding Panel: Access the keybinding panel via the Command Palette to manage and customize keybindings.
- Beta Features: Enable beta features like iOS simulator integration in the Settings Panel
Troubleshooting
-
Can't Connect?
- Ensure Chrome is running with debugging flag
- Check if port 9222 is available
- Try restarting Chrome
-
Session Disconnected?
- The extension will automatically detect stale sessions and show a notification
- Click the status bar item to reconnect
- No need to restart Cursor - just reconnect when prompted
-
Incomplete Capture?
- Wait for all content to load
- Scroll through the page once
- Check console for errors
Requirements
- Cursor (latest version)
- Google Chrome/Chromium
- Node.js ≥ 18.0.0
Contributing
We welcome contributions from the community! Here's how you can help:
🐛 Found a Bug?
- Ensure the bug hasn't already been reported by searching our Issues
- If you can't find an existing issue, open a new bug report using our bug report template
💡 Have a Feature Idea?
- Check our Issues to see if it's already suggested
- If not, create a feature request using our feature request template
🛠️ Want to Contribute Code?
- Read our Contributing Guide
- Fork the repository
- Create your feature branch
- Make your changes
- Open a Pull Request using our PR template
For more details, check out our:
- Code of Conduct
- Contributing Guidelines
License
MIT - See LICENSE file for details