Debugtron is a powerful desktop debugging tool for in-production Electron applications. Built with Electron, React, and TypeScript, it provides a comprehensive interface to discover, launch, and debug any Electron app with professional DevTools integration.
- π Automatic App Discovery: Cross-platform detection of installed Electron applications with visual interface
- π One-Click Debug Sessions: Launch any Electron app with debugging flags enabled, support multiple simultaneous sessions
- π οΈ DevTools Integration: Access Chrome DevTools for both Node.js main process and renderer processes
- π Real-Time Monitoring: Live stdout/stderr logging with professional terminal interface
- Development & Testing: Debug production builds, profile performance, and validate features
- Production Support: Investigate deployed app issues and reproduce customer problems
- Quality Assurance: Test apps without built-in debugging across different platforms
Download the latest release for your platform:
π₯ Download from GitHub Releases
- Windows (x64)
- macOS (Intel & Apple Silicon)
- Linux (x64, AppImage)
- Launch Debugtron - Open the application
- Select an App - Choose from automatically discovered Electron applications
- Start Debugging - Click to launch the app with debugging enabled
- Open DevTools - Click "Inspect" buttons to open DevTools for different processes
- Monitor Logs - View real-time application output in the integrated terminal
- Node.js 18+
- Yarn package manager
# Clone the repository
git clone https://github.com/pd4d10/debugtron.git
cd debugtron
# Install dependencies
yarn install
# Start development
yarn dev
# Build for production
yarn build
# Package for distribution
yarn packagesrc/
βββ main/ # Electron main process
β βββ actions.ts # Redux thunk actions
β βββ platforms/ # Platform-specific app discovery
β βββ main.ts # Main entry point
βββ renderer/ # React frontend
β βββ app.tsx # Main app component
β βββ session.tsx # Debug session interface
β βββ header.tsx # App selection header
βββ reducers/ # Redux state management
βββ preload.ts # Secure IPC preload script
Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.
- Use TypeScript with strict mode
- Follow the existing code style and patterns
- Write clear commit messages
- Test on multiple platforms when possible
MIT License - see LICENSE for details.
