{"action":"opened","number":3911,"pull_request":{"url":"https://api.github.com/repos/balderdashy/sails/pulls/3911","id":96458178,"html_url":"https://github.com/balderdashy/sails/pull/3911","diff_url":"https://github.com/balderdashy/sails/pull/3911.diff","patch_url":"https://github.com/balderdashy/sails/pull/3911.patch","issue_url":"https://api.github.com/repos/balderdashy/sails/issues/3911","number":3911,"state":"open","locked":false,"title":"[proposal] Add a command for lifting the sails console in debug mode.","user":{"login":"jeff-kilbride","id":14877960,"avatar_url":"https://avatars.githubusercontent.com/u/14877960?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-kilbride","html_url":"https://github.com/jeff-kilbride","followers_url":"https://api.github.com/users/jeff-kilbride/followers","following_url":"https://api.github.com/users/jeff-kilbride/following{/other_user}","gists_url":"https://api.github.com/users/jeff-kilbride/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-kilbride/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-kilbride/subscriptions","organizations_url":"https://api.github.com/users/jeff-kilbride/orgs","repos_url":"https://api.github.com/users/jeff-kilbride/repos","events_url":"https://api.github.com/users/jeff-kilbride/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-kilbride/received_events","type":"User","site_admin":false},"body":"<!-- \r\n======================================================\r\nHELLO, and welcome to the (experimental) Sailsbot\r\npr-submission system.  If you encounter any\r\nproblems with this system, please contact\r\nsgress454@treeline.io\r\n\r\nIMPORTANT - Read Carefully (Sailsbot will know if you don't)!  \r\n======================================================\r\n\r\nBefore submitting a pull request for a new feature request, pretty-please read the Sails contribution guide section on proposing features and enhancements: http://bit.ly/sails-feature-guide.\r\nBefore submitting a pull request with code, please read the section on contributing code: http://bit.ly/sails-code-guide.\r\n\r\nThey're a little long, but that's because we're serious about keeping Sails lean, stable and secure.\r\n\r\nIf after all that, you're still ready to make a pull request, make sure that your PR title starts with one of the following:\r\n\r\n[proposal]\r\n[patch]\r\n[implements #<another PR number>]\r\n[fixes #<an issue number>]\r\n\r\nFor example: \r\n[proposal] Add a Kraken to the `sails lift` sailboat image\r\n[implements #123] Adds Kraken to sailboat\r\n[patch] Fix the shading on the Kraken's tentacles\r\n[fixes #423] Removes pesky \"throw new Error('yolo');\" added when Kraken is displayed\r\n\r\nIf you don't use one of those prefixes, Sailsbot will bring the hammer down.  You have been warned!\r\n\r\nOk, that's all.  Please put the description of your pull request below (after the arrow).\r\n-->\r\nThis proposal adds a `debug-console` command to the Sails CLI, essentially a hybrid of the existing `console` and `debug` commands. This lifts a Sails app in debug mode, allowing interactive debugging from the console.\r\n\r\nI use the `sails console` command extensively to test my models, services, etc... It's one of my favorite aspects of Sails development. Having an app lifted with both the console and debugger attached allows me to invoke methods and debug them on the fly. I find it very powerful. I hope others will, too!\r\n\r\nIt's a fairly simple addition. The only thing I had an issue with was passing the program options (silent, verbose, silly) to the newly spawned debug process. I solved it by using a global variable, but I'm hoping someone else has a better idea...","created_at":"2016-12-05T01:47:45Z","updated_at":"2016-12-05T01:47:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f30717a8ddaaa3dfc8406c9378055b974a6b5684","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/balderdashy/sails/pulls/3911/commits","review_comments_url":"https://api.github.com/repos/balderdashy/sails/pulls/3911/comments","review_comment_url":"https://api.github.com/repos/balderdashy/sails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/balderdashy/sails/issues/3911/comments","statuses_url":"https://api.github.com/repos/balderdashy/sails/statuses/03748aa3ecd08eda611013da5d905c6c403d5fa0","head":{"label":"jeff-kilbride:sails-debug-console","ref":"sails-debug-console","sha":"03748aa3ecd08eda611013da5d905c6c403d5fa0","user":{"login":"jeff-kilbride","id":14877960,"avatar_url":"https://avatars.githubusercontent.com/u/14877960?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-kilbride","html_url":"https://github.com/jeff-kilbride","followers_url":"https://api.github.com/users/jeff-kilbride/followers","following_url":"https://api.github.com/users/jeff-kilbride/following{/other_user}","gists_url":"https://api.github.com/users/jeff-kilbride/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-kilbride/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-kilbride/subscriptions","organizations_url":"https://api.github.com/users/jeff-kilbride/orgs","repos_url":"https://api.github.com/users/jeff-kilbride/repos","events_url":"https://api.github.com/users/jeff-kilbride/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-kilbride/received_events","type":"User","site_admin":false},"repo":{"id":75563380,"name":"sails","full_name":"jeff-kilbride/sails","owner":{"login":"jeff-kilbride","id":14877960,"avatar_url":"https://avatars.githubusercontent.com/u/14877960?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-kilbride","html_url":"https://github.com/jeff-kilbride","followers_url":"https://api.github.com/users/jeff-kilbride/followers","following_url":"https://api.github.com/users/jeff-kilbride/following{/other_user}","gists_url":"https://api.github.com/users/jeff-kilbride/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-kilbride/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-kilbride/subscriptions","organizations_url":"https://api.github.com/users/jeff-kilbride/orgs","repos_url":"https://api.github.com/users/jeff-kilbride/repos","events_url":"https://api.github.com/users/jeff-kilbride/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-kilbride/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeff-kilbride/sails","description":"Realtime MVC Framework for Node.js","fork":true,"url":"https://api.github.com/repos/jeff-kilbride/sails","forks_url":"https://api.github.com/repos/jeff-kilbride/sails/forks","keys_url":"https://api.github.com/repos/jeff-kilbride/sails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeff-kilbride/sails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeff-kilbride/sails/teams","hooks_url":"https://api.github.com/repos/jeff-kilbride/sails/hooks","issue_events_url":"https://api.github.com/repos/jeff-kilbride/sails/issues/events{/number}","events_url":"https://api.github.com/repos/jeff-kilbride/sails/events","assignees_url":"https://api.github.com/repos/jeff-kilbride/sails/assignees{/user}","branches_url":"https://api.github.com/repos/jeff-kilbride/sails/branches{/branch}","tags_url":"https://api.github.com/repos/jeff-kilbride/sails/tags","blobs_url":"https://api.github.com/repos/jeff-kilbride/sails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeff-kilbride/sails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeff-kilbride/sails/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeff-kilbride/sails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeff-kilbride/sails/statuses/{sha}","languages_url":"https://api.github.com/repos/jeff-kilbride/sails/languages","stargazers_url":"https://api.github.com/repos/jeff-kilbride/sails/stargazers","contributors_url":"https://api.github.com/repos/jeff-kilbride/sails/contributors","subscribers_url":"https://api.github.com/repos/jeff-kilbride/sails/subscribers","subscription_url":"https://api.github.com/repos/jeff-kilbride/sails/subscription","commits_url":"https://api.github.com/repos/jeff-kilbride/sails/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeff-kilbride/sails/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeff-kilbride/sails/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeff-kilbride/sails/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeff-kilbride/sails/contents/{+path}","compare_url":"https://api.github.com/repos/jeff-kilbride/sails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeff-kilbride/sails/merges","archive_url":"https://api.github.com/repos/jeff-kilbride/sails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeff-kilbride/sails/downloads","issues_url":"https://api.github.com/repos/jeff-kilbride/sails/issues{/number}","pulls_url":"https://api.github.com/repos/jeff-kilbride/sails/pulls{/number}","milestones_url":"https://api.github.com/repos/jeff-kilbride/sails/milestones{/number}","notifications_url":"https://api.github.com/repos/jeff-kilbride/sails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeff-kilbride/sails/labels{/name}","releases_url":"https://api.github.com/repos/jeff-kilbride/sails/releases{/id}","deployments_url":"https://api.github.com/repos/jeff-kilbride/sails/deployments","created_at":"2016-12-04T20:44:44Z","updated_at":"2016-12-04T20:44:48Z","pushed_at":"2016-12-05T01:21:52Z","git_url":"git://github.com/jeff-kilbride/sails.git","ssh_url":"git@github.com:jeff-kilbride/sails.git","clone_url":"https://github.com/jeff-kilbride/sails.git","svn_url":"https://github.com/jeff-kilbride/sails","homepage":"http://sailsjs.org","size":11031,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"balderdashy:master","ref":"master","sha":"c5d38ae818533413795f8e90c3415a15ba233047","user":{"login":"balderdashy","id":1445252,"avatar_url":"https://avatars.githubusercontent.com/u/1445252?v=3","gravatar_id":"","url":"https://api.github.com/users/balderdashy","html_url":"https://github.com/balderdashy","followers_url":"https://api.github.com/users/balderdashy/followers","following_url":"https://api.github.com/users/balderdashy/following{/other_user}","gists_url":"https://api.github.com/users/balderdashy/gists{/gist_id}","starred_url":"https://api.github.com/users/balderdashy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balderdashy/subscriptions","organizations_url":"https://api.github.com/users/balderdashy/orgs","repos_url":"https://api.github.com/users/balderdashy/repos","events_url":"https://api.github.com/users/balderdashy/events{/privacy}","received_events_url":"https://api.github.com/users/balderdashy/received_events","type":"Organization","site_admin":false},"repo":{"id":3757512,"name":"sails","full_name":"balderdashy/sails","owner":{"login":"balderdashy","id":1445252,"avatar_url":"https://avatars.githubusercontent.com/u/1445252?v=3","gravatar_id":"","url":"https://api.github.com/users/balderdashy","html_url":"https://github.com/balderdashy","followers_url":"https://api.github.com/users/balderdashy/followers","following_url":"https://api.github.com/users/balderdashy/following{/other_user}","gists_url":"https://api.github.com/users/balderdashy/gists{/gist_id}","starred_url":"https://api.github.com/users/balderdashy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balderdashy/subscriptions","organizations_url":"https://api.github.com/users/balderdashy/orgs","repos_url":"https://api.github.com/users/balderdashy/repos","events_url":"https://api.github.com/users/balderdashy/events{/privacy}","received_events_url":"https://api.github.com/users/balderdashy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/balderdashy/sails","description":"Realtime MVC Framework for Node.js","fork":false,"url":"https://api.github.com/repos/balderdashy/sails","forks_url":"https://api.github.com/repos/balderdashy/sails/forks","keys_url":"https://api.github.com/repos/balderdashy/sails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/balderdashy/sails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/balderdashy/sails/teams","hooks_url":"https://api.github.com/repos/balderdashy/sails/hooks","issue_events_url":"https://api.github.com/repos/balderdashy/sails/issues/events{/number}","events_url":"https://api.github.com/repos/balderdashy/sails/events","assignees_url":"https://api.github.com/repos/balderdashy/sails/assignees{/user}","branches_url":"https://api.github.com/repos/balderdashy/sails/branches{/branch}","tags_url":"https://api.github.com/repos/balderdashy/sails/tags","blobs_url":"https://api.github.com/repos/balderdashy/sails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/balderdashy/sails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/balderdashy/sails/git/refs{/sha}","trees_url":"https://api.github.com/repos/balderdashy/sails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/balderdashy/sails/statuses/{sha}","languages_url":"https://api.github.com/repos/balderdashy/sails/languages","stargazers_url":"https://api.github.com/repos/balderdashy/sails/stargazers","contributors_url":"https://api.github.com/repos/balderdashy/sails/contributors","subscribers_url":"https://api.github.com/repos/balderdashy/sails/subscribers","subscription_url":"https://api.github.com/repos/balderdashy/sails/subscription","commits_url":"https://api.github.com/repos/balderdashy/sails/commits{/sha}","git_commits_url":"https://api.github.com/repos/balderdashy/sails/git/commits{/sha}","comments_url":"https://api.github.com/repos/balderdashy/sails/comments{/number}","issue_comment_url":"https://api.github.com/repos/balderdashy/sails/issues/comments{/number}","contents_url":"https://api.github.com/repos/balderdashy/sails/contents/{+path}","compare_url":"https://api.github.com/repos/balderdashy/sails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/balderdashy/sails/merges","archive_url":"https://api.github.com/repos/balderdashy/sails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/balderdashy/sails/downloads","issues_url":"https://api.github.com/repos/balderdashy/sails/issues{/number}","pulls_url":"https://api.github.com/repos/balderdashy/sails/pulls{/number}","milestones_url":"https://api.github.com/repos/balderdashy/sails/milestones{/number}","notifications_url":"https://api.github.com/repos/balderdashy/sails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/balderdashy/sails/labels{/name}","releases_url":"https://api.github.com/repos/balderdashy/sails/releases{/id}","deployments_url":"https://api.github.com/repos/balderdashy/sails/deployments","created_at":"2012-03-18T19:46:15Z","updated_at":"2016-12-05T00:33:51Z","pushed_at":"2016-12-05T01:47:45Z","git_url":"git://github.com/balderdashy/sails.git","ssh_url":"git@github.com:balderdashy/sails.git","clone_url":"https://github.com/balderdashy/sails.git","svn_url":"https://github.com/balderdashy/sails","homepage":"http://sailsjs.org","size":16085,"stargazers_count":16004,"watchers_count":16004,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1643,"mirror_url":null,"open_issues_count":44,"forks":1643,"open_issues":44,"watchers":16004,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/balderdashy/sails/pulls/3911"},"html":{"href":"https://github.com/balderdashy/sails/pull/3911"},"issue":{"href":"https://api.github.com/repos/balderdashy/sails/issues/3911"},"comments":{"href":"https://api.github.com/repos/balderdashy/sails/issues/3911/comments"},"review_comments":{"href":"https://api.github.com/repos/balderdashy/sails/pulls/3911/comments"},"review_comment":{"href":"https://api.github.com/repos/balderdashy/sails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/balderdashy/sails/pulls/3911/commits"},"statuses":{"href":"https://api.github.com/repos/balderdashy/sails/statuses/03748aa3ecd08eda611013da5d905c6c403d5fa0"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":71,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"jeff-kilbride"}}