Debugtron is a debugging tool designed to identify and resolve issues in live Electron-based applications. Built with Electron itself, Debugtron provides developers with a powerful solution to monitor, diagnose, and fix production environments without disrupting end-users.
Key Features:
Real-time debugging capabilities for in-production Electron apps.
Remote debugging support to analyze issues across different environments.
Integration with popular development tools like VS Code for seamless workflows.
Memory leak detection and performance optimization features.
Audience & Benefit:
Ideal for developers, DevOps engineers, and IT teams managing Electron-based applications, Debugtron enables quick issue resolution, reducing downtime and improving user experience. By providing actionable insights into production issues, Debugtron helps maintain application stability and reliability.
Available for installation via winget, Debugtron is a must-have tool for anyone working with Electron applications in a production setting.
README
Debugtron
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.
⨠Features
š 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
šÆ Use Cases
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
# 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 package
Project Structure
src/
āāā 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
š¤ Contributing
Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.