{"id":22903991,"url":"https://github.com/json2d/ptvsd-flask-reload","last_synced_at":"2025-04-01T07:56:54.993Z","repository":{"id":95070495,"uuid":"170627337","full_name":"json2d/ptvsd-flask-reload","owner":"json2d","description":null,"archived":false,"fork":false,"pushed_at":"2019-02-14T04:49:32.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T04:42:07.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/json2d.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-14T04:32:09.000Z","updated_at":"2019-02-14T04:49:33.000Z","dependencies_parsed_at":"2023-05-30T01:00:41.935Z","dependency_job_id":null,"html_url":"https://github.com/json2d/ptvsd-flask-reload","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json2d%2Fptvsd-flask-reload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json2d%2Fptvsd-flask-reload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json2d%2Fptvsd-flask-reload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json2d%2Fptvsd-flask-reload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/json2d","download_url":"https://codeload.github.com/json2d/ptvsd-flask-reload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246604619,"owners_count":20804100,"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-12-14T02:39:41.896Z","updated_at":"2025-04-01T07:56:54.987Z","avatar_url":"https://github.com/json2d.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ptvsd-flask-reload\n\ndemoing an issue when flask app is run with reloading\n\nraises exception on repeat calls to `ptvsd.enable_attach`:\n\n```\nOSError(10048, 'Only one usage of each socket address (protocol/network address/port) is normally permitted', None, 10048, None)\n```\n\nafterwards attaching to debugger works but does not work properly (breakpoints stop getting caught)\n\n\n## Getting Started\nRun this to start the flask app\n```\n./run.sh\n```\n\n## Attaching to Debugger from VSCode Editor\nthe file `.vscode/launch.json` contains the launch config we'll use to attach, simply press `F5` to make run it.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjson2d%2Fptvsd-flask-reload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjson2d%2Fptvsd-flask-reload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjson2d%2Fptvsd-flask-reload/lists"}