Repository navigation
Releases
Releases · EverleeLabs/local-debug-toolkit
v 1.4.2
What's new in v1.4.2
Fixes
- The Debug Log area is now hidden while
WP_DEBUGis off. Previously it stayed visible ifWP_DEBUG_LOGwas still set, even though nothing was being logged and its toggle was hidden - Turning
WP_DEBUGoff now also removes the Show in WP Admin log viewer (the Tools → Debug Log page and admin bar link). Turn it back on from the WP Debug panel when you need it again
v 1.4.1
What's new in v1.4.1
Settings page
- New Preferences → Local Debug Toolkit page with a switch for each tool (WP Debug, WP Config, PHP Settings). Tools you turn off are hidden from every site's Tools tab
- Switches now match Local's own style
Fixes for restarts that hang and PHP settings that don't apply
- If Local was quit without its site services shutting down, leftover nginx and PHP processes could keep holding a site's ports. Restarting the site would then hang, and saved PHP settings (like Memory Limit) would never show up in Site Health
- PHP Settings now spots these leftover processes, lists them, and offers to stop them and restart the site
- Restart Site stops waiting after 60 seconds instead of spinning forever
Security improvements
- wp-config.php backups are now kept in the site's
conffolder instead of the public web folder, where they could be downloaded. Existing backups are moved automatically - The debug log is now written to the site's
logs/wp-debug.loginstead ofwp-content/debug.log, which anyone who could reach the site could open in a browser. Sites switch to the new location the next time you flip a debug switch - Updates are verified against GitHub's checksum and only downloaded from GitHub
- The add-on no longer writes through symbolic links, which protects you when working with imported sites
- PHP setting values are checked before they're saved
- On multisite, the in-admin Debug Log page is limited to super admins
Other
- Memory Limit now accepts
-1(no limit)
v 1.4
What's new in v1.4
WP Config editor line numbers
- The wp-config.php editor now shows line numbers
- Numbers stay aligned with their lines when long lines wrap
Restart buttons
- PHP Settings: after saving, a banner offers a Restart Site button so new settings take effect without stopping and starting the site manually
- Update banner: Restart Local button to finish installing an update
Bug fixes
- Fixed the "AddonClass is not a constructor" error Local logged every time it loaded the add-on
- Removed an outdated note about Docker from the PHP Settings warning
v 1.3
What's new in v1.3
Dark mode support
- Toggle labels now inherit colour from Local's theme instead of always rendering dark
- Debug log viewer: dark background and light text in dark mode
- PHP settings inputs: dark-aware background and border
- WP Config editor: border always matches its dark editor background
- Loading and muted text uses opacity instead of hardcoded grey
Word wrap
- Debug log viewer now wraps long lines instead of scrolling horizontally
- WP Config editor wraps long lines too
Bug fix
- Add-on name in the installed add-ons list now correctly opens the GitHub page instead of erroring
v 1.2
What's new in v1.2
WP Admin Debug Log viewer
- New "Show in WP Admin" toggle in the WP Debug panel (nested under WP_DEBUG_LOG)
- Installs a mu-plugin that adds 🐛 Debug Log to the WordPress Admin Bar — click to view the log right in the browser
- Log viewer shows the last 500 KB with a Download full log button for the complete file
- Toggling WP_DEBUG_LOG off automatically removes the mu-plugin
One-click auto-update
- Update banner now shows an Update Now button — installs the new version in place without leaving Local
- Falls back to a Download link if the auto-update fails
- Shows a "Restart Local to complete" confirmation after a successful update
Bug fixes
package-addon.shwas callingyarninstead ofnpmand using a stale addon name — fixed- Removed an unreachable code branch in the PHP settings writer