{"action":"created","comment":{"url":"https://api.github.com/repos/nodejs/node/pulls/comments/58565876","id":58565876,"diff_hunk":"@@ -3355,7 +3355,7 @@ static bool ParseDebugOpt(const char* arg) {\n \n   if (port != nullptr) {\n     debug_port = atoi(port);\n-    if (debug_port < 1024 || debug_port > 65535) {\n+    if (debug_port != 0 && (debug_port < 1024 || debug_port > 65535)) {\n       fprintf(stderr, \"Debug port must be in range 1024 to 65535.\\n\");","path":"src/node.cc","position":6,"original_position":6,"commit_id":"b4e56406836ab4f16b9cf46052d67a17561517a7","original_commit_id":"b4e56406836ab4f16b9cf46052d67a17561517a7","user":{"login":"thefourtheye","id":696611,"avatar_url":"https://avatars.githubusercontent.com/u/696611?v=3","gravatar_id":"","url":"https://api.github.com/users/thefourtheye","html_url":"https://github.com/thefourtheye","followers_url":"https://api.github.com/users/thefourtheye/followers","following_url":"https://api.github.com/users/thefourtheye/following{/other_user}","gists_url":"https://api.github.com/users/thefourtheye/gists{/gist_id}","starred_url":"https://api.github.com/users/thefourtheye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefourtheye/subscriptions","organizations_url":"https://api.github.com/users/thefourtheye/orgs","repos_url":"https://api.github.com/users/thefourtheye/repos","events_url":"https://api.github.com/users/thefourtheye/events{/privacy}","received_events_url":"https://api.github.com/users/thefourtheye/received_events","type":"User","site_admin":false},"body":"Minor: Should the error message include zero as well, now?","created_at":"2016-04-05T16:02:54Z","updated_at":"2016-04-05T16:02:54Z","html_url":"https://github.com/nodejs/node/pull/5025#discussion_r58565876","pull_request_url":"https://api.github.com/repos/nodejs/node/pulls/5025","_links":{"self":{"href":"https://api.github.com/repos/nodejs/node/pulls/comments/58565876"},"html":{"href":"https://github.com/nodejs/node/pull/5025#discussion_r58565876"},"pull_request":{"href":"https://api.github.com/repos/nodejs/node/pulls/5025"}}},"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/5025","id":57837674,"html_url":"https://github.com/nodejs/node/pull/5025","diff_url":"https://github.com/nodejs/node/pull/5025.diff","patch_url":"https://github.com/nodejs/node/pull/5025.patch","issue_url":"https://api.github.com/repos/nodejs/node/issues/5025","number":5025,"state":"open","locked":false,"title":"debugger: bind to random port with --debug-port=0","user":{"login":"bnoordhuis","id":275871,"avatar_url":"https://avatars.githubusercontent.com/u/275871?v=3","gravatar_id":"","url":"https://api.github.com/users/bnoordhuis","html_url":"https://github.com/bnoordhuis","followers_url":"https://api.github.com/users/bnoordhuis/followers","following_url":"https://api.github.com/users/bnoordhuis/following{/other_user}","gists_url":"https://api.github.com/users/bnoordhuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bnoordhuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnoordhuis/subscriptions","organizations_url":"https://api.github.com/users/bnoordhuis/orgs","repos_url":"https://api.github.com/users/bnoordhuis/repos","events_url":"https://api.github.com/users/bnoordhuis/events{/privacy}","received_events_url":"https://api.github.com/users/bnoordhuis/received_events","type":"User","site_admin":false},"body":"Allow binding to a randomly assigned port number with `--debug-port=0`.\r\n\r\nRefs: https://github.com/nodejs/node/issues/4419\r\n\r\nR=@indutny","created_at":"2016-02-01T13:14:18Z","updated_at":"2016-04-05T16:02:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c361c2de8a6fdc5abb41c70c622bf73f961b4944","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nodejs/node/pulls/5025/commits","review_comments_url":"https://api.github.com/repos/nodejs/node/pulls/5025/comments","review_comment_url":"https://api.github.com/repos/nodejs/node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodejs/node/issues/5025/comments","statuses_url":"https://api.github.com/repos/nodejs/node/statuses/b4e56406836ab4f16b9cf46052d67a17561517a7","head":{"label":"bnoordhuis:fix4419","ref":"fix4419","sha":"b4e56406836ab4f16b9cf46052d67a17561517a7","user":{"login":"bnoordhuis","id":275871,"avatar_url":"https://avatars.githubusercontent.com/u/275871?v=3","gravatar_id":"","url":"https://api.github.com/users/bnoordhuis","html_url":"https://github.com/bnoordhuis","followers_url":"https://api.github.com/users/bnoordhuis/followers","following_url":"https://api.github.com/users/bnoordhuis/following{/other_user}","gists_url":"https://api.github.com/users/bnoordhuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bnoordhuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnoordhuis/subscriptions","organizations_url":"https://api.github.com/users/bnoordhuis/orgs","repos_url":"https://api.github.com/users/bnoordhuis/repos","events_url":"https://api.github.com/users/bnoordhuis/events{/privacy}","received_events_url":"https://api.github.com/users/bnoordhuis/received_events","type":"User","site_admin":false},"repo":{"id":27560441,"name":"io.js","full_name":"bnoordhuis/io.js","owner":{"login":"bnoordhuis","id":275871,"avatar_url":"https://avatars.githubusercontent.com/u/275871?v=3","gravatar_id":"","url":"https://api.github.com/users/bnoordhuis","html_url":"https://github.com/bnoordhuis","followers_url":"https://api.github.com/users/bnoordhuis/followers","following_url":"https://api.github.com/users/bnoordhuis/following{/other_user}","gists_url":"https://api.github.com/users/bnoordhuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bnoordhuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnoordhuis/subscriptions","organizations_url":"https://api.github.com/users/bnoordhuis/orgs","repos_url":"https://api.github.com/users/bnoordhuis/repos","events_url":"https://api.github.com/users/bnoordhuis/events{/privacy}","received_events_url":"https://api.github.com/users/bnoordhuis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bnoordhuis/io.js","description":"Evented IO for V8 JavaScript","fork":true,"url":"https://api.github.com/repos/bnoordhuis/io.js","forks_url":"https://api.github.com/repos/bnoordhuis/io.js/forks","keys_url":"https://api.github.com/repos/bnoordhuis/io.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bnoordhuis/io.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bnoordhuis/io.js/teams","hooks_url":"https://api.github.com/repos/bnoordhuis/io.js/hooks","issue_events_url":"https://api.github.com/repos/bnoordhuis/io.js/issues/events{/number}","events_url":"https://api.github.com/repos/bnoordhuis/io.js/events","assignees_url":"https://api.github.com/repos/bnoordhuis/io.js/assignees{/user}","branches_url":"https://api.github.com/repos/bnoordhuis/io.js/branches{/branch}","tags_url":"https://api.github.com/repos/bnoordhuis/io.js/tags","blobs_url":"https://api.github.com/repos/bnoordhuis/io.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bnoordhuis/io.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bnoordhuis/io.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/bnoordhuis/io.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bnoordhuis/io.js/statuses/{sha}","languages_url":"https://api.github.com/repos/bnoordhuis/io.js/languages","stargazers_url":"https://api.github.com/repos/bnoordhuis/io.js/stargazers","contributors_url":"https://api.github.com/repos/bnoordhuis/io.js/contributors","subscribers_url":"https://api.github.com/repos/bnoordhuis/io.js/subscribers","subscription_url":"https://api.github.com/repos/bnoordhuis/io.js/subscription","commits_url":"https://api.github.com/repos/bnoordhuis/io.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/bnoordhuis/io.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/bnoordhuis/io.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/bnoordhuis/io.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/bnoordhuis/io.js/contents/{+path}","compare_url":"https://api.github.com/repos/bnoordhuis/io.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bnoordhuis/io.js/merges","archive_url":"https://api.github.com/repos/bnoordhuis/io.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bnoordhuis/io.js/downloads","issues_url":"https://api.github.com/repos/bnoordhuis/io.js/issues{/number}","pulls_url":"https://api.github.com/repos/bnoordhuis/io.js/pulls{/number}","milestones_url":"https://api.github.com/repos/bnoordhuis/io.js/milestones{/number}","notifications_url":"https://api.github.com/repos/bnoordhuis/io.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bnoordhuis/io.js/labels{/name}","releases_url":"https://api.github.com/repos/bnoordhuis/io.js/releases{/id}","deployments_url":"https://api.github.com/repos/bnoordhuis/io.js/deployments","created_at":"2014-12-04T21:15:25Z","updated_at":"2016-03-27T11:52:26Z","pushed_at":"2016-04-05T15:41:55Z","git_url":"git://github.com/bnoordhuis/io.js.git","ssh_url":"git@github.com:bnoordhuis/io.js.git","clone_url":"https://github.com/bnoordhuis/io.js.git","svn_url":"https://github.com/bnoordhuis/io.js","homepage":null,"size":184735,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"v0.12"}},"base":{"label":"nodejs:master","ref":"master","sha":"0a62f929da0cff816d79d2ed2b9b3b4ecdd50586","user":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":27193779,"name":"node","full_name":"nodejs/node","owner":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodejs/node","description":"Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:","fork":false,"url":"https://api.github.com/repos/nodejs/node","forks_url":"https://api.github.com/repos/nodejs/node/forks","keys_url":"https://api.github.com/repos/nodejs/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/node/teams","hooks_url":"https://api.github.com/repos/nodejs/node/hooks","issue_events_url":"https://api.github.com/repos/nodejs/node/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/node/events","assignees_url":"https://api.github.com/repos/nodejs/node/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/node/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/node/tags","blobs_url":"https://api.github.com/repos/nodejs/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/node/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/node/languages","stargazers_url":"https://api.github.com/repos/nodejs/node/stargazers","contributors_url":"https://api.github.com/repos/nodejs/node/contributors","subscribers_url":"https://api.github.com/repos/nodejs/node/subscribers","subscription_url":"https://api.github.com/repos/nodejs/node/subscription","commits_url":"https://api.github.com/repos/nodejs/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/node/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/node/merges","archive_url":"https://api.github.com/repos/nodejs/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/node/downloads","issues_url":"https://api.github.com/repos/nodejs/node/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/node/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/node/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/node/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/node/releases{/id}","deployments_url":"https://api.github.com/repos/nodejs/node/deployments","created_at":"2014-11-26T19:57:11Z","updated_at":"2016-04-05T15:08:33Z","pushed_at":"2016-04-05T15:41:57Z","git_url":"git://github.com/nodejs/node.git","ssh_url":"git@github.com:nodejs/node.git","clone_url":"https://github.com/nodejs/node.git","svn_url":"https://github.com/nodejs/node","homepage":"https://nodejs.org","size":225599,"stargazers_count":21739,"watchers_count":21739,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2912,"mirror_url":null,"open_issues_count":677,"forks":2912,"open_issues":677,"watchers":21739,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodejs/node/pulls/5025"},"html":{"href":"https://github.com/nodejs/node/pull/5025"},"issue":{"href":"https://api.github.com/repos/nodejs/node/issues/5025"},"comments":{"href":"https://api.github.com/repos/nodejs/node/issues/5025/comments"},"review_comments":{"href":"https://api.github.com/repos/nodejs/node/pulls/5025/comments"},"review_comment":{"href":"https://api.github.com/repos/nodejs/node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodejs/node/pulls/5025/commits"},"statuses":{"href":"https://api.github.com/repos/nodejs/node/statuses/b4e56406836ab4f16b9cf46052d67a17561517a7"}}}}