{"id":16823833,"url":"https://github.com/julienfalque/xdebug","last_synced_at":"2025-04-11T03:14:12.797Z","repository":{"id":197541193,"uuid":"77904249","full_name":"julienfalque/xdebug","owner":"julienfalque","description":"Enables Xdebug for CLI PHP scripts on demand","archived":false,"fork":false,"pushed_at":"2020-11-29T12:48:24.000Z","size":23,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T03:14:08.630Z","etag":null,"topics":["debug","php","php-cli"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/julienfalque.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-01-03T09:50:48.000Z","updated_at":"2020-11-29T12:46:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"5764eda3-ece7-4833-a75f-2072f0f93397","html_url":"https://github.com/julienfalque/xdebug","commit_stats":null,"previous_names":["julienfalque/xdebug"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julienfalque%2Fxdebug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julienfalque%2Fxdebug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julienfalque%2Fxdebug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julienfalque%2Fxdebug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julienfalque","download_url":"https://codeload.github.com/julienfalque/xdebug/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248333594,"owners_count":21086200,"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":["debug","php","php-cli"],"created_at":"2024-10-13T11:09:21.128Z","updated_at":"2025-04-11T03:14:12.779Z","avatar_url":"https://github.com/julienfalque.png","language":"Shell","readme":"Xdebug\n======\n\nThis little shell script allows you to enable Xdebug on demand when running a PHP script.\n\nXdebug is a powerful tool to debug PHP scripts, but is also known to be a performance killer: enabling it by default for CLI scripts will slow down all PHP commands such as Composer or PHPUnit. It is then recommended to not load the Xdebug extension at all for CLI. If you need to debug a script, enable the extension just for this script.\n\n_Note: the script was tested with PhpStorm only._\n\nCompatibility\n------------\n\nThe script currently supports PHP 7.2+ and Xdebug 2+.\n\nInstallation\n------------\n\nCopy the [xdebug file](./xdebug) in a directory that is part of your `PATH` so it can be executed globally.\n\nUsage\n-----\n\nWhen you need to debug a PHP script, just prefix your command with `xdebug`:\n\n`$ xdebug phpunit`\n\n`$ xdebug php script.php`\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulienfalque%2Fxdebug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulienfalque%2Fxdebug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulienfalque%2Fxdebug/lists"}