{"id":23244268,"url":"https://github.com/creyke/waitfordebugger","last_synced_at":"2026-04-28T18:35:29.298Z","repository":{"id":144164222,"uuid":"118642261","full_name":"creyke/WaitForDebugger","owner":"creyke","description":"Adds the ability to easily wait for a debugger connection before a .NET Core application executes.","archived":false,"fork":false,"pushed_at":"2018-01-29T10:15:21.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T23:28:55.210Z","etag":null,"topics":["debugger","debugging","dotnet-core","remote-debug"],"latest_commit_sha":null,"homepage":"","language":"C#","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/creyke.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":"2018-01-23T17:08:23.000Z","updated_at":"2018-02-15T11:55:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ee282db-ae38-48a2-9698-5ca808b16844","html_url":"https://github.com/creyke/WaitForDebugger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/creyke/WaitForDebugger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creyke%2FWaitForDebugger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creyke%2FWaitForDebugger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creyke%2FWaitForDebugger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creyke%2FWaitForDebugger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creyke","download_url":"https://codeload.github.com/creyke/WaitForDebugger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creyke%2FWaitForDebugger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32394466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["debugger","debugging","dotnet-core","remote-debug"],"created_at":"2024-12-19T06:21:29.371Z","updated_at":"2026-04-28T18:35:29.280Z","avatar_url":"https://github.com/creyke.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WaitForDebugger\nAdds the ability to easily wait for a debugger connection before a .NET Core application executes.\n\n# Usage\n1. Add a reference to the the WaitForDebugger project (no NuGet currently).\n\n2. Add the following line to the top of your Program.cs `Main()` method:\n```\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            DebuggerAwaiter.Wait(args);\n        }\n    }\n```\n\n3. Pass the argument '-waitfordebugger' to your application to have it wait for a local or remote debugger connection before continuing execution.\n\n# Alternative Usage\nYou can also pass a boolean to the `Wait()` method if you require more granular control over when to wait for the debugger connection:\n```\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            DebuggerAwaiter.Wait(true);\n        }\n    }\n```\n\nIf you are going full async, you can of course do:\n```\n    class Program\n    {\n        static async Task Main(string[] args)\n        {\n            await DebuggerAwaiter.WaitAsync(args);\n        }\n    }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreyke%2Fwaitfordebugger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreyke%2Fwaitfordebugger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreyke%2Fwaitfordebugger/lists"}