# Debug Log for WordPress

> Turn on PHP error logging with one click (errors are logged, never shown to visitors), then read the log here: grouped, filterable, downloadable, clearable.…

TW-COR-09 Core


Turn on PHP error logging with one click (errors are logged, never shown to visitors), then read the log here: grouped, filterable, downloadable, clearable.

[Get it from $26 a year](https://togglework.app/pricing/#plans) [Try it in the demo](https://togglework.app/demo/)

Debug Log

**Part number**
: TW-COR-09
**Section**
: [Core](https://togglework.app/features/core/)
**Settings**
: Own screen
**Starts**
: Switched off
**In plans**
: Every plan

## Why it matters

When a page goes blank or something quietly stops working, the PHP error log usually says why. Turning it on normally means editing wp-config.php and reading a raw file over FTP.

### What it does

- Turns on PHP error logging with one click. Errors are logged, never shown to visitors.
- Reads the log in wp-admin: grouped, filterable, downloadable and clearable.

![Debug Log settings screen in the Toggleworks WordPress plugin](https://togglework.app/wp-content/themes/toggleworks-site/assets/img/parts/core-debug-log.webp?v=1795524161)

The Debug Log screen in wp-admin, where you switch it on and change its settings.

## Set it up

1. Switch it on, repeat whatever is going wrong, then open the log.
2. Look for the plugin or theme folder named in the error.

## How you use it

Switch Debug Log on in Toggleworks → Core and it adds its own screen to wp-admin, where you do the work. There are no settings to get wrong first.

## Good to know

- Turn logging off again when you are done; logs grow on busy sites.

## Comes with 187 more parts

Debug Log is one part of Toggleworks, a single plugin for security, speed, SEO, backups, email and store tools. Switch on what your site needs; the rest stays off and loads nothing.

[All 27 Core parts](https://togglework.app/features/core/)

### People also look for it as

- debug
- wp\_debug
- debug.log
- error log
- php errors
- fatal error
- logging
- troubleshooting

## Often switched on with it

- [System Info](https://togglework.app/features/core/system-info/) — TW-COR-25 · A copyable report of your WordPress, PHP, database, theme, plugin and cron setup, handy for support requests. · Own screen in wp-admin
- [Email Log](https://togglework.app/features/email/email-log/) — TW-EML-02 · Keep a searchable record of every email WordPress sends, with delivery status, errors and one-click resend. · 3 settings
- [Site Alerts](https://togglework.app/features/marketing/alerts/) — TW-MKT-02 · Email or Slack alerts for plugin and theme changes, new administrators, login lockouts and PHP fatal errors — plus a heartbeat… · 4 settings
- [Announcement Bar](https://togglework.app/features/core/announcement-bar/) — TW-COR-01 · Show a dismissible message at the top of the site — sales, shipping notices, launches — with an optional button and schedule. · 9 settings
- [Code Snippets](https://togglework.app/features/core/code-snippets/) — TW-COR-03 · Add PHP, CSS, JavaScript and HTML snippets without editing theme files — with conditions, revision history and automatic shut-off… · Own screen in wp-admin
- [Comment Tweaks](https://togglework.app/features/core/comment-tweaks/) — TW-COR-04 · Fewer spam links and better conversations: remove the website field, stop auto-linking, strip links, allow repeat comments and… · 9 settings

## Questions

**Is Debug Log included in every Toggleworks plan?**

Yes. Every plan includes all 188 parts, Debug Log among them. Plans differ only in how many sites you can use them on, and staging or local copies of a site don’t count.

**Does Debug Log slow my site down when it’s switched off?**

No. Every part starts switched off, and a part that is off loads none of its code. Switch on Debug Log only if your site needs it.

**What if a setting locks me out?**

Add `define( 'TOGGLEWORKS_SAFE_MODE', true );` to wp-config.php. It pauses every part until you remove the line, and Tools → Recent changes lets you undo a change.

**Can I try Debug Log before I buy?**

Yes. The [live demo](https://togglework.app/demo/) runs a WordPress site with Toggleworks in your browser, and every plan has a 14-day refund.

## Switch off the plugin pile.

All 188 parts, one license, updates and support. 14-day refund.

[Choose a plan](https://togglework.app/pricing/#plans) [Try the live demo](https://togglework.app/demo/)

---

Source: https://togglework.app/features/core/debug-log/
