{"id":16619045,"url":"https://github.com/jasny/lib-phpdebug-js","last_synced_at":"2025-10-29T19:31:52.114Z","repository":{"id":3429118,"uuid":"4480912","full_name":"jasny/lib-phpdebug-js","owner":"jasny","description":"XDebug (PHP Debugger) client written in JavaScript","archived":false,"fork":false,"pushed_at":"2019-05-18T22:39:23.000Z","size":102,"stargazers_count":11,"open_issues_count":2,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-06T21:55:28.145Z","etag":null,"topics":["dbgp","javascript","nodejs","php-debugger","xdebug"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/jasny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-29T10:51:18.000Z","updated_at":"2021-11-01T00:06:39.000Z","dependencies_parsed_at":"2022-09-05T16:31:03.264Z","dependency_job_id":null,"html_url":"https://github.com/jasny/lib-phpdebug-js","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasny%2Flib-phpdebug-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasny%2Flib-phpdebug-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasny%2Flib-phpdebug-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasny%2Flib-phpdebug-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasny","download_url":"https://codeload.github.com/jasny/lib-phpdebug-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238882520,"owners_count":19546533,"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":["dbgp","javascript","nodejs","php-debugger","xdebug"],"created_at":"2024-10-12T02:22:35.984Z","updated_at":"2025-10-29T19:31:51.819Z","avatar_url":"https://github.com/jasny.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Xdebug (PHP Debugger) client written in JavaScript\n==================================================\n\nThis project includes:\n\n  * An implementation of the [DBGP Protocol](http://www.xdebug.org/docs-dbgp.php):\n    * Can run in the browser and on the server.\n  * An intelligent [nodejs](http://nodejs.org/) based *DBGP* proxy server:\n    * Expose an async *DBGP* interface to the browser via [socket.io](http://socket.io/).\n    * Control *Xdebug* from the server, the browser or both at the same time.\n  * A *Xdebug* client library that connects to *Xdebug* directly or to the proxy server.\n  * A client UI showing events as they are executed used for development and testing.\n\nNOTE: Only the core *DBGP* features are implemented at this time.\n\n\nUsage\n=====\n\nRequirements\n------------\n\n  * [node.js](http://nodejs.org/) \u0026 *npm*\n  * Webserver with *PHP* support\n  * [PHP 5.2+ / 7.0+](http://php.net/) *cli* and *webserver* support\n  * [Xdebug 2.2+](http://www.xdebug.org/) (see [Xdebug Install](http://www.xdebug.org/docs/install))\n\nInstall\n-------\n\n    npm install lib-phpdebug\n\nFrom source\n\n    git clone git://github.com/jasny/lib-phpdebug-js.git\n    cd lib-phpdebug-js\n    npm install\n\nSetup\n-----\n\nCreate a *virtual host* with *PHP* enabled and *Xdebug* installed (say `http://lib-phpdebug.localhost/`) and \npoint it to `./php/`. This will be used to serve PHP scripts for the example client UI and automated tests.\n\nConfigure *Xdebug* in *php.ini*:\n\n    xdebug.remote_enable=1\n    xdebug.idekey=secret-key\n    xdebug.remote_port=9000         // default\n    xdebug.remote_host=localhost    // default\n    xdebug.remote_autostart=0       // default\n\nLaunch debug proxy server:\n\n    node ./example/server --port 9080 --php lib-phpdebug.localhost --idekey secret-key\n\nUse `-v` to log major events to console and `-d` to log debug messages to console.\n\nTest\n----\n\nThe following will run a bunch of tests to cover all supported use-cases:\n\n    node ./test/all --port 9080 --php lib-phpdebug.localhost --skip-browser-tests --idekey secret-key\n\nTIP: If the example client is open at `http://localhost:9080/` it will show the progress of\nthe tests if the `--skip-browser-tests` argument is omitted.\n\nDemo\n----\n\nOpen the example client at `http://localhost:9080/` (served from the debug proxy server).\n\nYou can now use the client to run the test suite using the `Run All Tests` link.\n\n\nAuthor\n======\n\n- The original implementation of this project is by [Christoph Dorn](http://www.christophdorn.com/).\n- The project is maintained by [Jasny (Arnold Daniels)](http://www.jasny.net/).\n\n\nLicense\n=======\n\nThe MIT License\n\nCopyright(c) 2011 Ajax.org B.V. \u003cinfo AT ajax DOT org\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasny%2Flib-phpdebug-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasny%2Flib-phpdebug-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasny%2Flib-phpdebug-js/lists"}