{"id":50622338,"url":"https://github.com/joel-hanson/django-docker-pdb","last_synced_at":"2026-06-06T13:02:16.798Z","repository":{"id":52938593,"uuid":"202877503","full_name":"Joel-hanson/django-docker-pdb","owner":"Joel-hanson","description":"An example that demonstrates how to add a breakpoint to Django projects within a Docker ","archived":false,"fork":false,"pushed_at":"2023-12-31T17:12:33.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-11T18:24:59.353Z","etag":null,"topics":["breakpoint","django","django-rest-framework","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Joel-hanson.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}},"created_at":"2019-08-17T12:21:45.000Z","updated_at":"2023-03-27T23:59:32.000Z","dependencies_parsed_at":"2023-12-31T18:23:17.201Z","dependency_job_id":"7303dc77-b568-40ef-9066-c542e83aff26","html_url":"https://github.com/Joel-hanson/django-docker-pdb","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.2857142857142857,"last_synced_commit":"5690d68ba197cd129f46f82fe3d2db22f6ec0c48"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Joel-hanson/django-docker-pdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joel-hanson%2Fdjango-docker-pdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joel-hanson%2Fdjango-docker-pdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joel-hanson%2Fdjango-docker-pdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joel-hanson%2Fdjango-docker-pdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Joel-hanson","download_url":"https://codeload.github.com/Joel-hanson/django-docker-pdb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joel-hanson%2Fdjango-docker-pdb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33983046,"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-06-06T02:00:07.033Z","response_time":107,"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":["breakpoint","django","django-rest-framework","python"],"created_at":"2026-06-06T13:02:06.625Z","updated_at":"2026-06-06T13:02:16.789Z","avatar_url":"https://github.com/Joel-hanson.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django_docker_pdb\n\nCompanion repository to https://joel-hanson.medium.com/how-to-use-pdb-for-django-inside-a-docker-12c424d880ec\n\n\n## Set up\n\n```bash\n# Clone this repository\n$ git clone git@github.com:Joel-hanson/django-docker-pdb.git\n\n# Build Docker containers\n$ docker-compose up --build\n```\n\n## Demonstrating accessing PDB containers\n\nRequests to the site root are handled by a function that contains a [Python pdb statement](https://docs.python.org/3/library/pdb.html). This provides a breakpoint to code execution.\n\nTo drop into this breakpoint:\n\n```bash\n# Attach into the container\n$ docker attach django-docker-pdb_web_1\n\n# Make a request to http://localhost\n# You will see the breakpoint visible in your terminal\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoel-hanson%2Fdjango-docker-pdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoel-hanson%2Fdjango-docker-pdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoel-hanson%2Fdjango-docker-pdb/lists"}