{"id":33966939,"url":"https://github.com/andreimosman/debugitto","last_synced_at":"2026-05-28T01:30:56.696Z","repository":{"id":62551199,"uuid":"507030517","full_name":"andreimosman/debugitto","owner":"andreimosman","description":"Simple but effective remote debug tool.","archived":false,"fork":false,"pushed_at":"2023-06-30T17:12:02.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-14T12:10:27.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/andreimosman.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":"2022-06-24T13:58:42.000Z","updated_at":"2022-07-21T16:12:46.000Z","dependencies_parsed_at":"2022-11-03T02:15:43.736Z","dependency_job_id":null,"html_url":"https://github.com/andreimosman/debugitto","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/andreimosman/debugitto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimosman%2Fdebugitto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimosman%2Fdebugitto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimosman%2Fdebugitto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimosman%2Fdebugitto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreimosman","download_url":"https://codeload.github.com/andreimosman/debugitto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimosman%2Fdebugitto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33590884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"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":[],"created_at":"2025-12-12T23:32:18.520Z","updated_at":"2026-05-28T01:30:56.692Z","avatar_url":"https://github.com/andreimosman.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# debugitto\n\nThis is a very simple way to debug PHP applications without generating output directly to the browser.\n\n## Installation\n\n### Via composer:\n\n```\ncomposer require andreimosman/debugitto\n```\n\n### Download\n\nYou can download at `https://github.com/andreimosman/debugitto` and just include `src/Debug.php`\n\n## Usage\n\n### On your environment\n\nOnce you included or required the main file via `vendor/autoload.php` or direct on your application, you can use it by:\n\n```\n// ...\n\nuse AndreiMosman\\Debugitto\\Debugitto;\n\nDebugitto::enable('localhost', 9900);\nDebugitto::d('This is my beautiful output');\n\n// ...\n```\n\nOf course, you should listen on `localhost` port `9900` to make it work.\n\nYou can do it on your machine using netcat:\n\n```\nnc -kl 9900\n```\n\n### Inside a docker container\n\nBy default, the host is set to `host.docker.internal` (which refers, from the perspective of the container, to your docker server, outside the container) and the port to `9900`.\n\nSo, once you included manually or via composer autoload, you can add to your code:\n\n```\n\nuse AndreiMosman\\Debugitto\\Debugitto;\n\nDebugitto::enable();\nDebugitto::d('Message sent from the container');\n\n\n```\n\n## print_r by default\n\nThe code below:\n\n```\n\u003c?php\n\nrequire_once('vendor/autoload.php'); // Check your path, please.\n\nuse AndreiMosman\\Debugitto\\Debugitto as D;\n\nD::enable('127.0.0.1', 9900);\n\n$myVariable = ['a' =\u003e 1, 'b' =\u003e 2, 'c' =\u003e 3];\n\nD::d('My super dupper variable');\nD::d($myVariable);\n\n\n```\n\nWill output:\n\n```\nMy super duper variable\nArray\n(\n    [a] =\u003e 1\n    [b] =\u003e 2\n    [c] =\u003e 3\n)\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreimosman%2Fdebugitto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreimosman%2Fdebugitto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreimosman%2Fdebugitto/lists"}