A native macOS application for monitoring WordPress debug.log files and receiving instant notifications when new log entries appear.
Monitor WordPress debug logs in real-time with instant macOS notifications
- 🔍 Real-time Monitoring: Watch multiple WordPress debug.log files simultaneously
- 🔔 Instant Notifications: Get macOS notifications when new log entries are detected
- 📱 Tray Integration: Runs in the system tray with quick access menu
- 🎨 Modern UI: Clean, intuitive interface with real-time log viewing
- 💾 Persistent Configuration: Remembers your watched files between sessions
- 📊 Activity Log: Track recent monitoring activity
- 🔄 Auto-refresh: Automatically updates log content when changes are detected
Step 1: You can download your application from here. Debug Log.dmg files
Step 2: Go to setting > privacy > WP Debugger > open anyway
Step 3: Enable Notification for better debugging
- macOS 10.14 or later
- Node.js 16 or later
- npm or yarn
- Download the latest release from the releases page
- Install the .dmg file by dragging to Applications
- Launch the app from Applications or Spotlight
-
Clone or download this repository
-
Install dependencies:
npm install
-
Start the application in development mode:
npm start
To create a distributable macOS application:
npm run buildThe built application will be available in the dist folder.
- Click the "Add Log File" button
- Either:
- Enter the full path to your debug.log file manually
- Click "Browse" to select the file through the file picker
- Click "Add File" to start monitoring
/wp-content/debug.log/wp-content/uploads/debug.log/logs/debug.log
- Real-time Monitoring: The app watches for file changes and displays new content immediately
- System Notifications: Receive macOS notifications when new log entries are detected
- Tray Menu: Right-click the tray icon for quick access to app functions
- Multiple Files: Monitor several debug.log files from different WordPress installations
- Activity Tracking: View recent monitoring activity in the sidebar
The app runs in the system tray and provides:
- Show/Hide application window
- Quick access to add new log files
- Quit application
The application automatically saves your watched files configuration to:
~/Library/Application Support/debug-log-watcher/config.json
- macOS: 10.14 (Mojave) or later
- Memory: 50MB RAM
- Storage: 10MB disk space
- Permissions: File system access for log monitoring
debug-log-watcher/
├── main.js # Main Electron process
├── index.html # Application UI
├── styles.css # Application styles
├── renderer.js # Renderer process logic
├── package.json # Dependencies and scripts
└── assets/ # Application assets
npm start- Start the application in development modenpm run build- Build the application for distributionnpm run dev- Start with development flags
- File not found errors: Ensure the debug.log file path is correct and the file exists
- Permission errors: Make sure the application has read access to the log files
- Notifications not working: Check macOS notification settings for the application
Run the application with debug logging:
npm run dev- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
MIT License - see LICENSE file for details.
For issues and feature requests, please create an issue in the repository.
- Initial release
- Real-time WordPress debug.log monitoring
- macOS notifications
- System tray integration
- Modern UI with activity tracking