{"id":27352303,"url":"https://github.com/sukovanej/node-debug","last_synced_at":"2026-05-19T04:03:19.593Z","repository":{"id":42026875,"uuid":"481996735","full_name":"sukovanej/node-debug","owner":"sukovanej","description":"NodeJS CLI debugger based on Chrome DevTools Protocol","archived":false,"fork":false,"pushed_at":"2022-04-17T14:04:07.000Z","size":108,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T20:54:59.129Z","etag":null,"topics":["chrome-devtools-protocol","nodejs","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/sukovanej.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":"2022-04-15T15:10:26.000Z","updated_at":"2022-05-12T21:04:20.000Z","dependencies_parsed_at":"2022-08-12T02:41:09.281Z","dependency_job_id":null,"html_url":"https://github.com/sukovanej/node-debug","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/sukovanej%2Fnode-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukovanej%2Fnode-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukovanej%2Fnode-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukovanej%2Fnode-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sukovanej","download_url":"https://codeload.github.com/sukovanej/node-debug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631708,"owners_count":21136560,"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":["chrome-devtools-protocol","nodejs","rust"],"created_at":"2025-04-12T20:55:00.590Z","updated_at":"2026-05-19T04:03:14.539Z","avatar_url":"https://github.com/sukovanej.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## TODO\n\n - set max timeout for blocking websocket calls\n - continue-to command - continue to a position\n - ns command - combination of next and show\n\n## CDT Protocol notes\n\nEnable debugger\n\n```json\n{\"id\": 1, \"method\": \"Debugger.enable\"}\n```\n\nResume debugger\n\n```json\n{\"id\": 1, \"method\": \"Debugger.resume\"}\n```\n\nPause debugger\n\n```json\n{\"id\": 1, \"method\": \"Debugger.pause\"}\n```\n\nRun if waiting for debugger\n\n```json\n{\"id\": 1, \"method\": \"Runtime.runIfWaitingForDebugger\"}\n```\n\nGet possible breakpoints\n\n```json\n{\"id\": 1, \"method\": \"Debugger.getPossibleBreakpoints\", \"params\": { \"start\": {\"lineNumber\": 0, \"scriptId\": \"100\"}}}\n```\n\nStep over\n\n```json\n{\"id\": 1, \"method\": \"Debugger.stepOver\"}\n```\n\nGet script source\n\n```json\n{\"id\": 1, \"method\": \"Debugger.getScriptSource\", \"params\": { \"scriptId\": \"138\"}}\n```\n\nStep into\n\n```json\n{\"id\": 1, \"method\": \"Debugger.stepInto\"}\n```\n\nChromium devtools comm\n\n```json\n{\"id\":1,\"method\":\"Runtime.enable\",\"params\":{}}\n{\"id\":2,\"method\":\"Debugger.enable\",\"params\":{\"maxScriptsCacheSize\":100000000}}\n{\"id\":3,\"method\":\"Debugger.setPauseOnExceptions\",\"params\":{\"state\":\"none\"}}\n{\"id\":4,\"method\":\"Debugger.setAsyncCallStackDepth\",\"params\":{\"maxDepth\":32}}\n{\"id\":1,\"result\":{}}\n{\"id\":5,\"method\":\"Profiler.enable\",\"params\":{}}\n{\"id\":6,\"method\":\"Debugger.setBlackboxPatterns\",\"params\":{\"patterns\":[]}}\n{\"id\":7,\"method\":\"Runtime.runIfWaitingForDebugger\",\"params\":{}}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsukovanej%2Fnode-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsukovanej%2Fnode-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsukovanej%2Fnode-debug/lists"}