{"id":26541351,"url":"https://github.com/devkabir/wp-debugger","last_synced_at":"2026-04-17T05:31:35.688Z","repository":{"id":213650180,"uuid":"726694908","full_name":"devkabir/wp-debugger","owner":"devkabir","description":"WordPress Debugger is a straightforward tool designed to assist you in identifying and resolving errors on your WordPress website.","archived":false,"fork":false,"pushed_at":"2026-03-18T21:53:08.000Z","size":1015,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-19T10:55:27.257Z","etag":null,"topics":["debug","debug-tool","debugger","debugging","debugging-tool","wordpress","wordpress-plugin","wordpress-plugin-dev","wordpress-plugin-development"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devkabir.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-03T05:12:04.000Z","updated_at":"2026-03-18T21:53:12.000Z","dependencies_parsed_at":"2025-12-30T16:03:57.843Z","dependency_job_id":null,"html_url":"https://github.com/devkabir/wp-debugger","commit_stats":null,"previous_names":["devkabir/wp-debugger","devkabir/a-wp-plugin-debugger","devkabir/0-debugger"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/devkabir/wp-debugger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkabir%2Fwp-debugger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkabir%2Fwp-debugger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkabir%2Fwp-debugger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkabir%2Fwp-debugger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devkabir","download_url":"https://codeload.github.com/devkabir/wp-debugger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkabir%2Fwp-debugger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31916734,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debug","debug-tool","debugger","debugging","debugging-tool","wordpress","wordpress-plugin","wordpress-plugin-dev","wordpress-plugin-development"],"created_at":"2025-03-22T01:15:26.571Z","updated_at":"2026-04-17T05:31:35.680Z","avatar_url":"https://github.com/devkabir.png","language":"PHP","readme":"# WP Debugger\n\nThis tool helps developers see and understand errors in WordPress.\n\n## What it does\n\n* Changes big error pages to show:\n\n  * The error message, list of function calls, code parts, and source with highlights\n  * Data from superglobals\n  * A “Copy for AI” button and an “Ignore error” button (this hides the page when you reload)\n* Shows errors in JSON format for JSON or CLI requests\n* Can also log HTTP requests and fake responses if `ENABLE_MOCK_HTTP_INTERCEPTOR` is true\n* Saves logs in files inside `wp-content/logs/`, and rotates them\n\n## How to install\n\n1. Put the plugin folder into `wp-content/plugins/wp-debugger/`\n2. Turn it on in WordPress\n   (Use `?disable_debug=1` in the URL to stop it from loading)\n\n## How to use\n\n* Cause an error to see the error page, or use `init_debugger()`\n* Use these helper functions in `functions.php`:\n\n  * `write_log( ...$messages )` — saves messages to `wp-content/logs/0-debugger.log` (auto-rotates)\n  * `format_stack_trace( $trace )` and `log_stack_trace( $trace )` — clean up and save function call lists\n  * `dump( ...$vars )` — shows data in a nice way (HTML or JSON)\n  * `dd( ...$vars )` — dump and stop right away\n  * `dump_filter_callbacks( $filter, $dump = true )` — look at hook functions (show or save them)\n  * `recursively_decode_json( $data )` and `debugger_format_variable( $value )` — helper functions for logging\n* Skip the error page with `?skip_wp_debugger=1`, or press “Ignore error” to set a cookie that hides it\n\n## HTTP debugging\n\n* Uses `http_api_debug` to save request and response logs to `wp-content/logs/{domain}-requests.log` (errors go to `{domain}-errors.log`)\n* If `ENABLE_MOCK_HTTP_INTERCEPTOR` is true, some URLs return fake data from code instead of making a real request\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkabir%2Fwp-debugger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevkabir%2Fwp-debugger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkabir%2Fwp-debugger/lists"}