{"id":13527017,"url":"https://github.com/tc39/proposal-standardized-debug","last_synced_at":"2025-04-19T17:35:17.305Z","repository":{"id":51037778,"uuid":"286904078","full_name":"tc39/proposal-standardized-debug","owner":"tc39","description":"Standardized debug","archived":false,"fork":false,"pushed_at":"2021-05-25T19:47:02.000Z","size":42,"stargazers_count":34,"open_issues_count":6,"forks_count":5,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-03-29T10:51:19.735Z","etag":null,"topics":["debugging","ecmascript","javascript"],"latest_commit_sha":null,"homepage":"https://tc39.es/proposal-standardized-debug","language":"HTML","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/tc39.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":"2020-08-12T03:12:24.000Z","updated_at":"2023-12-31T04:07:34.000Z","dependencies_parsed_at":"2022-09-13T19:42:40.771Z","dependency_job_id":null,"html_url":"https://github.com/tc39/proposal-standardized-debug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"tc39/template-for-proposals","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tc39%2Fproposal-standardized-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tc39%2Fproposal-standardized-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tc39%2Fproposal-standardized-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tc39%2Fproposal-standardized-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tc39","download_url":"https://codeload.github.com/tc39/proposal-standardized-debug/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249750294,"owners_count":21320110,"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":["debugging","ecmascript","javascript"],"created_at":"2024-08-01T06:01:39.372Z","updated_at":"2025-04-19T17:35:17.286Z","avatar_url":"https://github.com/tc39.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# Standardized Debug\n\nThis proposal is at Stage 1 of the [TC39 Process](https://tc39.es/process-document/).\n\n## Motivation\n\nDifferent environments expose different APIs for interacting with debugger\nfacilities. Some of them do not expose any APIs for this at all. This proposal\naims to provide standardized debugging facilities across all ECMAScript\nimplementations. Additionally, the APIs are constrained to be identity\nfunctions - that is, they return the value which is passed to them.\n\nThis proposal suggests adding the following meta-property-functions to ES:\n\n- `debugger.log ( v )`\n- `debugger.break ( [ v ] )`\n\nNote that, like `import()`, they are only valid in call expression form. For\nexample, `x().then(debugger.break)` would be invalid. You would have to do\n`x().then((v) =\u003e debugger.break(v))`. This limitation is in place to ensure\nthese methods (particularly `break`) are only ever invoked from ECMAScript code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftc39%2Fproposal-standardized-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftc39%2Fproposal-standardized-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftc39%2Fproposal-standardized-debug/lists"}