{"id":13518896,"url":"https://github.com/xdebug/xdebug","last_synced_at":"2025-05-12T13:25:09.667Z","repository":{"id":1551555,"uuid":"1934695","full_name":"xdebug/xdebug","owner":"xdebug","description":"Xdebug — Step Debugger and Debugging Aid for PHP","archived":false,"fork":false,"pushed_at":"2025-05-01T14:03:20.000Z","size":11364,"stargazers_count":3258,"open_issues_count":9,"forks_count":578,"subscribers_count":125,"default_branch":"master","last_synced_at":"2025-05-01T15:24:02.428Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://xdebug.org","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xdebug.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"patreon":"derickr","github":"derickr","custom":"https://xdebug.org/support"}},"created_at":"2011-06-22T12:33:00.000Z","updated_at":"2025-05-01T14:03:24.000Z","dependencies_parsed_at":"2024-03-06T17:14:25.654Z","dependency_job_id":"96f16e37-6a00-46a8-aa74-256479049095","html_url":"https://github.com/xdebug/xdebug","commit_stats":{"total_commits":4721,"total_committers":106,"mean_commits":44.5377358490566,"dds":0.5056132175386571,"last_synced_commit":"12adc6394adbf14f239429d72cf34faadddd19fb"},"previous_names":[],"tags_count":184,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdebug%2Fxdebug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdebug%2Fxdebug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdebug%2Fxdebug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdebug%2Fxdebug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xdebug","download_url":"https://codeload.github.com/xdebug/xdebug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253746139,"owners_count":21957506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-01T05:01:50.536Z","updated_at":"2025-05-12T13:25:09.635Z","avatar_url":"https://github.com/xdebug.png","language":"PHP","readme":"Xdebug\n======\n\n.. image:: https://github.com/xdebug/xdebug/actions/workflows/tests.yml/badge.svg\n   :target: https://github.com/xdebug/xdebug/actions/workflows/tests.yml\n.. image:: https://circleci.com/gh/xdebug/xdebug/tree/master.svg?style=svg\n   :target: https://circleci.com/gh/xdebug/xdebug\n\n.. image:: https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg\n   :target: https://stand-with-ukraine.pp.ua/\n\nXdebug is a debugging tool for PHP. It provides step-debugging and a whole\nrange of development helpers, such as stack traces, a code profiler, features to\ndump the full execution of your script to a file, and more.\n\n|Repography logo| / Recent activity |Time period|\n-----\n|recent-activity_timeline| |recent-activity_prs| |recent-activity_words| |recent-activity_users|\n\n.. |Time period| image:: https://images.repography.com/0/xdebug/xdebug/recent-activity/ef1290ac5bfa674f07dcfa4f915ce6b3_badge.svg\n   :alt: Time period\n   :target: https://repography.com\n.. |Repography logo| image:: https://images.repography.com/logo.svg\n   :alt: Repography logo\n   :target: https://repography.com\n.. |recent-activity_timeline| image:: https://images.repography.com/0/xdebug/xdebug/recent-activity/ef1290ac5bfa674f07dcfa4f915ce6b3_timeline.svg\n   :alt: Timeline graph\n   :target: https://github.com/xdebug/xdebug/commits\n.. |recent-activity_prs| image:: https://images.repography.com/0/xdebug/xdebug/recent-activity/ef1290ac5bfa674f07dcfa4f915ce6b3_prs.svg\n   :alt: Pull request status graph\n   :target: https://github.com/xdebug/xdebug/pulls\n.. |recent-activity_words| image:: https://images.repography.com/0/xdebug/xdebug/recent-activity/ef1290ac5bfa674f07dcfa4f915ce6b3_words.svg\n   :alt: Trending topics\n   :target: https://github.com/xdebug/xdebug/commits\n.. |recent-activity_users| image:: https://images.repography.com/0/xdebug/xdebug/recent-activity/ef1290ac5bfa674f07dcfa4f915ce6b3_users.svg\n   :alt: Top contributors\n   :target: https://github.com/xdebug/xdebug/graphs/contributors\n\nRequirements\n------------\n\nXdebug requires a `supported version \u003chttps://www.php.net/supported-versions.php\u003e`_ of PHP. For\ninstallation it requires the `pecl` tool (available through the `php-pear`\npackage), unless your Linux distribution has an Xdebug package (`php-xdebug`).\n\nInstallation\n------------\n\nOn most Linux distributions you can install Xdebug through its package\nmanager. You can also compile from source with the `pecl` tool through `pecl\ninstall xdebug`. The latter also works for MacOS as long as PHP is installed\nwith Homebrew.\n\nOn Windows, you need to `download \u003chttps://xdebug.org/download#releases\u003e`_ a\nbinary. Use the `Wizard \u003chttps://xdebug.org/wizard\u003e`_.\n\nUnless you have installed Xdebug with a package manager on Linux, you also\nneed to add the following line to your `php.ini` file, or create a new Xdebug\nspecific ini file `xdebug.ini` in the `conf.d` directory. In either case, it\nneeds the following line added::\n\n\tzend_extension=xdebug\n\nFor more extensive installation instructions, see the documentation at\nhttps://xdebug.org/docs/install\n\nConfiguration\n-------------\n\nMost features in Xdebug have to be opted in into. Each feature has a specific\nopt-in. For example to use the `step debugger\n\u003chttps://xdebug.org/docs/remote\u003e`_ you need to set `xdebug.remote_enable=1` in\nyour configuration file. The step debugger requires an IDE (client), of which\nthere are many `available \u003chttps://xdebug.org/docs/remote#clients\u003e`_.\n\nThe documentation has instructions for each of Xdebug's features:\nhttps://xdebug.org/docs/ and a full list of `settings\n\u003chttps://xdebug.org/docs/all_settings\u003e`_ is also available there.\n\nContributing\n------------\n\nXdebug is written in C, and extensive knowledge of PHP's internals is\nnecessary to be able to contribute. Contributing guidance is available\n`separately \u003chttps://github.com/xdebug/xdebug/blob/master/CONTRIBUTING.rst\u003e`_.\n\nBefore you begin to contribute, please reach out first. Either through email\n(address at the bottom), an issue in the `issue tracker\n\u003chttps://bugs.xdebug.org\u003e`_ or preferably through IRC on Freenode's #xdebug\nchannel.\n\nTesting\n-------\n\nIf you are familiar with compiling PHP extension from source, have a local\ncheckout of Xdebug's GitHub repository, and have compiled Xdebug in that\ndirectory following the instructions under `installation\n\u003chttps://xdebug.org/docs/install#source\u003e`_ you can run Xdebug's tests by\nrunning::\n\n\tphp run-xdebug-tests.php\n\nThe test framework requires that the PHP binary on the path has Xdebug loaded,\nwith remote debugging enabled through `xdebug.mode=debug`. It is possible\nto skip remote debugging tests by exporting the `SKIP_DBGP_TESTS=1` environment\nvariable.\n\nThe `SKIP_UNPARALLEL_TESTS=1` can be used to skip tests that can not run in\nparallel environments, and the `SKIP_SLOW_TESTS=1` environment variable to skip\nslow tests. The `OPCACHE` environment variable can either be `yes` or `no` and\ncontrols whether the test framework enables or disables OpCache.\n\nLicensing\n---------\n\nXdebug is released under `The Xdebug License\n\u003chttps://github.com/xdebug/xdebug/blob/master/LICENSE\u003e`_, which is based on\n`The PHP License \u003chttps://github.com/php/php-src/blob/master/LICENSE\u003e`_. It is\nan Open Source license (though not explicitly endorsed by the Open Source\nInitiative).\n\nFurther Reading\n---------------\n\nXdebug has extensive documentation on its `website \u003chttps://xdebug.org/docs\u003e`_.\nThere are over a hundred settings and many functions documented. Please have a\nlook through the wealth of information that Xdebug can provide to make your\nevery day development with PHP easier.\n\nSupport\n-------\n\nFor questions regarding Xdebug, please use `StackOverflow\n\u003chttps://stackoverflow.com/questions/tagged/xdebug\u003e`_, and tag your question\nwith `xdebug`.\n\nYou can also find ad-hoc and sporadic support on IRC: ``freenode/#xdebug``.\nYou can do that with your favourite client, or by using their `webchat\n\u003chttp://webchat.freenode.net/?channels=#xdebug\u003e`_.\n\nIf you think that you encountered a bug, please file a detailed bug report\nat https://bugs.xdebug.org. You are required to create an account, this is\nso that you can be contacted for additional information and to keep out\nspam.\n\n\nDerick Rethans — derick@xdebug.org\n","funding_links":["https://patreon.com/derickr","https://github.com/sponsors/derickr","https://xdebug.org/support"],"categories":["PHP","调试","Table of Contents","目录","Code Analysis","P8 Améliorez une application existante de ToDo \u0026 Co","Debugging","调试和性能( Debugging and Profiling )","调试和分析 Debugging and Profiling"],"sub_categories":["Debugging and Profiling","调试和性能分析 Debugging and Profiling","Performance de code"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdebug%2Fxdebug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxdebug%2Fxdebug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdebug%2Fxdebug/lists"}