{"id":22821943,"url":"https://github.com/zavvdev/js-debug","last_synced_at":"2025-03-30T23:40:49.962Z","repository":{"id":258690380,"uuid":"752398227","full_name":"zavvdev/js-debug","owner":"zavvdev","description":"Small environment for debugging JS code","archived":false,"fork":false,"pushed_at":"2025-03-29T13:48:59.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T14:32:17.441Z","etag":null,"topics":["byte-code","bytecode","debug","debugging","ignition","javascript","js","maglev","turbofan","v8","v8-javascript-engine"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/zavvdev.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-03T20:10:48.000Z","updated_at":"2025-03-29T13:49:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"f024a9f8-4f1d-442e-9a86-ead54f2f7f02","html_url":"https://github.com/zavvdev/js-debug","commit_stats":null,"previous_names":["zavvdev/js-debug"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zavvdev%2Fjs-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zavvdev%2Fjs-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zavvdev%2Fjs-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zavvdev%2Fjs-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zavvdev","download_url":"https://codeload.github.com/zavvdev/js-debug/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246395574,"owners_count":20770240,"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":["byte-code","bytecode","debug","debugging","ignition","javascript","js","maglev","turbofan","v8","v8-javascript-engine"],"created_at":"2024-12-12T16:09:56.038Z","updated_at":"2025-03-30T23:40:49.955Z","avatar_url":"https://github.com/zavvdev.png","language":"Shell","readme":"# JavaScript Debug Environment\n\n### Prerequisites\n\n1. Install `jsvu`. I use V8 for debug but you can use whatever engine you need. Check [documentation](https://github.com/GoogleChromeLabs/jsvu) for more info.\n\n2. If you on Mac then install `gnu-time` utility: `brew install gnu-time`.\n   If you on Linux then go to `v8.sh` and replace `gtime` with `/usr/bin/time`\n\n### How to use\n\nRun `sh v8/bc.sh file.js` to execute file.js with V8 engine using flags listed in _v8/bc.sh_. This will generate a bytecode for each function that prefixed with bc\\_\\_\\*. Natives syntax allowed.\n\nRun `sh v8/mc.sh file.js` to execute file.js with V8 engine using flags listed in _v8/mc.sh_. This will generate an optimized machine code for each function that prefixed with bc\\_\\_\\* and if they were optimized either manually or my optimization compiler. Natives syntax allowed.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzavvdev%2Fjs-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzavvdev%2Fjs-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzavvdev%2Fjs-debug/lists"}