{"id":13523469,"url":"https://github.com/webgpu/webgpu-debugger","last_synced_at":"2025-05-13T22:31:18.193Z","repository":{"id":66124577,"uuid":"552964869","full_name":"webgpu/webgpu-debugger","owner":"webgpu","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-20T14:40:53.000Z","size":981,"stargazers_count":73,"open_issues_count":21,"forks_count":8,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-05-13T04:11:17.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/webgpu.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":"2022-10-17T13:56:48.000Z","updated_at":"2025-05-11T15:41:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea926795-aebd-468f-b113-09c1617b82ff","html_url":"https://github.com/webgpu/webgpu-debugger","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/webgpu%2Fwebgpu-debugger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgpu%2Fwebgpu-debugger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgpu%2Fwebgpu-debugger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgpu%2Fwebgpu-debugger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webgpu","download_url":"https://codeload.github.com/webgpu/webgpu-debugger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254036813,"owners_count":22003655,"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-08-01T06:01:00.398Z","updated_at":"2025-05-13T22:31:17.600Z","avatar_url":"https://github.com/webgpu.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Debuggers and Profilers"],"sub_categories":["Safari"],"readme":"# webgpu-debugger\n\n# Note: This is still **ALPHA** code. See issues and other random TODO comments for things that need work\n\n## Development\n\n* Install [node](https://nodejs.org). Note: I recommend using [nvm](https://github.com/nvm-sh/nvm)(mac/linux) or [nvm-windows](https://github.com/coreybutler/nvm-windows)(windows).\n* run these commands:\n\n  ```bash\n  git clone https://github.com/webgpu/webgpu-debugger.git\n  cd webgpu-debugger\n  npm ci\n  ```\n\n### Live development\n\n```\nnpm start\n```\n\nIt should open a browser to `http://localhost:3000/example/`. Edits to the code *should* end up showing up live in the browser.\n\n## Building\n\n```\nnpm run build\n```\n\nThis builds 3 libraries.\n\n1. the `capture` library `dist/capture.js`\n\n   usage:\n   \n   ```js\n   import { webgpuDebugger } from 'dist/capture.js\n   \n   ...\n     const trace = await webgpuDebugger.traceFrame();\n   ```\n\n2. the `replay` library `dist/replay.js`\n\n   stand alone usage:\n   \n   ```js\n   TBD\n   ```\n\n   usage with capture\n   \n   ```js\n   TBD\n   ```\n   \n3. the 'debugger' in `dist/webgpu-debugger.js`\n\n   usage:\n   \n   ```js\n   import `dist/webgpu-debugger.js`;\n   ```\n   \n   or\n   \n   ```html\n   \u003cscript src=\"dist/webgpu-debugger.js\"\u003e\u003c/script\u003e\n   ```\n\n## Pushing changes\n\nBefore you push a change please run `npm run check` or, better yet, make it\nautomatic by putting \n\n```\nnpm run check\n```\n\nIn `.git/hooks/pre-push` and then set the executable bit `chmod u+x .git/hooks/pre-push`\n\nWe use `prettier` to format code so if you find errors, some of them may be able to be\nfixed with `npm run fix`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebgpu%2Fwebgpu-debugger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebgpu%2Fwebgpu-debugger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebgpu%2Fwebgpu-debugger/lists"}