{"action":"created","comment":{"url":"https://api.github.com/repos/kiddkai/atom-node-debugger/pulls/comments/46775920","id":46775920,"diff_hunk":"@@ -62,6 +66,13 @@ module.exports =\n       processManager.start()\n       NodeDebuggerView.show(_debugger)\n \n+  startActiveFile: =>\n+    if _debugger.isConnected()\n+      _debugger.reqContinue()","path":"lib/node-debugger.coffee","position":24,"original_position":24,"commit_id":"382802a5179b7cf6b853dc6064c3d438d6dc04dd","original_commit_id":"382802a5179b7cf6b853dc6064c3d438d6dc04dd","user":{"login":"codecontemplator","id":3386085,"avatar_url":"https://avatars.githubusercontent.com/u/3386085?v=3","gravatar_id":"","url":"https://api.github.com/users/codecontemplator","html_url":"https://github.com/codecontemplator","followers_url":"https://api.github.com/users/codecontemplator/followers","following_url":"https://api.github.com/users/codecontemplator/following{/other_user}","gists_url":"https://api.github.com/users/codecontemplator/gists{/gist_id}","starred_url":"https://api.github.com/users/codecontemplator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecontemplator/subscriptions","organizations_url":"https://api.github.com/users/codecontemplator/orgs","repos_url":"https://api.github.com/users/codecontemplator/repos","events_url":"https://api.github.com/users/codecontemplator/events{/privacy}","received_events_url":"https://api.github.com/users/codecontemplator/received_events","type":"User","site_admin":false},"body":"Should the startActiveFile command be used to continue execution as well?","created_at":"2015-12-06T21:01:05Z","updated_at":"2015-12-06T21:01:05Z","html_url":"https://github.com/kiddkai/atom-node-debugger/pull/116#discussion_r46775920","pull_request_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/pulls/116","_links":{"self":{"href":"https://api.github.com/repos/kiddkai/atom-node-debugger/pulls/comments/46775920"},"html":{"href":"https://github.com/kiddkai/atom-node-debugger/pull/116#discussion_r46775920"},"pull_request":{"href":"https://api.github.com/repos/kiddkai/atom-node-debugger/pulls/116"}}},"pull_request":{"url":"https://api.github.com/repos/kiddkai/atom-node-debugger/pulls/116","id":52765714,"html_url":"https://github.com/kiddkai/atom-node-debugger/pull/116","diff_url":"https://github.com/kiddkai/atom-node-debugger/pull/116.diff","patch_url":"https://github.com/kiddkai/atom-node-debugger/pull/116.patch","issue_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/issues/116","number":116,"state":"closed","locked":false,"title":"default startup file, and new debug keymap","user":{"login":"DarthGoon","id":719791,"avatar_url":"https://avatars.githubusercontent.com/u/719791?v=3","gravatar_id":"","url":"https://api.github.com/users/DarthGoon","html_url":"https://github.com/DarthGoon","followers_url":"https://api.github.com/users/DarthGoon/followers","following_url":"https://api.github.com/users/DarthGoon/following{/other_user}","gists_url":"https://api.github.com/users/DarthGoon/gists{/gist_id}","starred_url":"https://api.github.com/users/DarthGoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarthGoon/subscriptions","organizations_url":"https://api.github.com/users/DarthGoon/orgs","repos_url":"https://api.github.com/users/DarthGoon/repos","events_url":"https://api.github.com/users/DarthGoon/events{/privacy}","received_events_url":"https://api.github.com/users/DarthGoon/received_events","type":"User","site_admin":false},"body":"I made a thing.\r\n\r\nI was reading this issue- https://github.com/kiddkai/atom-node-debugger/issues/103\r\n\r\nAnd a few things occurred to me.\r\n1.  i wish there was a way to specify a default entry point.\r\n2.  i also wish there was a way to debug \"my current file\", when writing tests for example.\r\n3.  i don't think the debugger should be making/enforcing assumptions about the organization or naming of the files.  standards and patterns aside.\r\n\r\nSo partially inspired by how jetBrains implements their debugger, and partially by how i just wish it always worked-  I made this.\r\nAll of this is open for review, btw.  This would be my first stab at development for atom, so all feedback is welcome.\r\nThe changes amount to-\r\n1. configurable app entry point- defaulting to 'app.js'\r\n2. debug hotkey uses default entry point\r\n3. new keymap (ctrl+F5) for debugging the currently open file in the editor\r\n\r\n![image](https://cloud.githubusercontent.com/assets/719791/11610526/21d866f4-9b73-11e5-9558-e79af79beaa7.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/719791/11610528/30937c1a-9b73-11e5-8d74-0a59844e806e.png)\r\n","created_at":"2015-12-05T21:49:24Z","updated_at":"2015-12-06T21:01:05Z","closed_at":"2015-12-06T20:52:01Z","merged_at":null,"merge_commit_sha":"57741900567782555b756fa82f616392b8fff333","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/pulls/116/commits","review_comments_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/pulls/116/comments","review_comment_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/issues/116/comments","statuses_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/statuses/382802a5179b7cf6b853dc6064c3d438d6dc04dd","head":{"label":"DarthGoon:master","ref":"master","sha":"382802a5179b7cf6b853dc6064c3d438d6dc04dd","user":{"login":"DarthGoon","id":719791,"avatar_url":"https://avatars.githubusercontent.com/u/719791?v=3","gravatar_id":"","url":"https://api.github.com/users/DarthGoon","html_url":"https://github.com/DarthGoon","followers_url":"https://api.github.com/users/DarthGoon/followers","following_url":"https://api.github.com/users/DarthGoon/following{/other_user}","gists_url":"https://api.github.com/users/DarthGoon/gists{/gist_id}","starred_url":"https://api.github.com/users/DarthGoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarthGoon/subscriptions","organizations_url":"https://api.github.com/users/DarthGoon/orgs","repos_url":"https://api.github.com/users/DarthGoon/repos","events_url":"https://api.github.com/users/DarthGoon/events{/privacy}","received_events_url":"https://api.github.com/users/DarthGoon/received_events","type":"User","site_admin":false},"repo":{"id":47078610,"name":"atom-node-debugger","full_name":"DarthGoon/atom-node-debugger","owner":{"login":"DarthGoon","id":719791,"avatar_url":"https://avatars.githubusercontent.com/u/719791?v=3","gravatar_id":"","url":"https://api.github.com/users/DarthGoon","html_url":"https://github.com/DarthGoon","followers_url":"https://api.github.com/users/DarthGoon/followers","following_url":"https://api.github.com/users/DarthGoon/following{/other_user}","gists_url":"https://api.github.com/users/DarthGoon/gists{/gist_id}","starred_url":"https://api.github.com/users/DarthGoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarthGoon/subscriptions","organizations_url":"https://api.github.com/users/DarthGoon/orgs","repos_url":"https://api.github.com/users/DarthGoon/repos","events_url":"https://api.github.com/users/DarthGoon/events{/privacy}","received_events_url":"https://api.github.com/users/DarthGoon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DarthGoon/atom-node-debugger","description":"A Nodejs Debugger For Atom","fork":true,"url":"https://api.github.com/repos/DarthGoon/atom-node-debugger","forks_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/forks","keys_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/teams","hooks_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/hooks","issue_events_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/issues/events{/number}","events_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/events","assignees_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/assignees{/user}","branches_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/branches{/branch}","tags_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/tags","blobs_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/git/refs{/sha}","trees_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/statuses/{sha}","languages_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/languages","stargazers_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/stargazers","contributors_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/contributors","subscribers_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/subscribers","subscription_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/subscription","commits_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/commits{/sha}","git_commits_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/git/commits{/sha}","comments_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/comments{/number}","issue_comment_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/issues/comments{/number}","contents_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/contents/{+path}","compare_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/merges","archive_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/downloads","issues_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/issues{/number}","pulls_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/pulls{/number}","milestones_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/milestones{/number}","notifications_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/labels{/name}","releases_url":"https://api.github.com/repos/DarthGoon/atom-node-debugger/releases{/id}","created_at":"2015-11-29T20:15:36Z","updated_at":"2015-11-29T20:15:37Z","pushed_at":"2015-12-05T21:38:23Z","git_url":"git://github.com/DarthGoon/atom-node-debugger.git","ssh_url":"git@github.com:DarthGoon/atom-node-debugger.git","clone_url":"https://github.com/DarthGoon/atom-node-debugger.git","svn_url":"https://github.com/DarthGoon/atom-node-debugger","homepage":null,"size":4036,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"kiddkai:master","ref":"master","sha":"87bf2b64d44fd7fd86b6b601ea0a537c05519548","user":{"login":"kiddkai","id":1309053,"avatar_url":"https://avatars.githubusercontent.com/u/1309053?v=3","gravatar_id":"","url":"https://api.github.com/users/kiddkai","html_url":"https://github.com/kiddkai","followers_url":"https://api.github.com/users/kiddkai/followers","following_url":"https://api.github.com/users/kiddkai/following{/other_user}","gists_url":"https://api.github.com/users/kiddkai/gists{/gist_id}","starred_url":"https://api.github.com/users/kiddkai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiddkai/subscriptions","organizations_url":"https://api.github.com/users/kiddkai/orgs","repos_url":"https://api.github.com/users/kiddkai/repos","events_url":"https://api.github.com/users/kiddkai/events{/privacy}","received_events_url":"https://api.github.com/users/kiddkai/received_events","type":"User","site_admin":false},"repo":{"id":22991561,"name":"atom-node-debugger","full_name":"kiddkai/atom-node-debugger","owner":{"login":"kiddkai","id":1309053,"avatar_url":"https://avatars.githubusercontent.com/u/1309053?v=3","gravatar_id":"","url":"https://api.github.com/users/kiddkai","html_url":"https://github.com/kiddkai","followers_url":"https://api.github.com/users/kiddkai/followers","following_url":"https://api.github.com/users/kiddkai/following{/other_user}","gists_url":"https://api.github.com/users/kiddkai/gists{/gist_id}","starred_url":"https://api.github.com/users/kiddkai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiddkai/subscriptions","organizations_url":"https://api.github.com/users/kiddkai/orgs","repos_url":"https://api.github.com/users/kiddkai/repos","events_url":"https://api.github.com/users/kiddkai/events{/privacy}","received_events_url":"https://api.github.com/users/kiddkai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kiddkai/atom-node-debugger","description":"A Nodejs Debugger For Atom","fork":false,"url":"https://api.github.com/repos/kiddkai/atom-node-debugger","forks_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/forks","keys_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/teams","hooks_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/hooks","issue_events_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/issues/events{/number}","events_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/events","assignees_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/assignees{/user}","branches_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/branches{/branch}","tags_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/tags","blobs_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/statuses/{sha}","languages_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/languages","stargazers_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/stargazers","contributors_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/contributors","subscribers_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/subscribers","subscription_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/subscription","commits_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/contents/{+path}","compare_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/merges","archive_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/downloads","issues_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/issues{/number}","pulls_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/pulls{/number}","milestones_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/milestones{/number}","notifications_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/labels{/name}","releases_url":"https://api.github.com/repos/kiddkai/atom-node-debugger/releases{/id}","created_at":"2014-08-15T14:08:25Z","updated_at":"2015-12-03T20:25:42Z","pushed_at":"2015-12-05T21:49:26Z","git_url":"git://github.com/kiddkai/atom-node-debugger.git","ssh_url":"git@github.com:kiddkai/atom-node-debugger.git","clone_url":"https://github.com/kiddkai/atom-node-debugger.git","svn_url":"https://github.com/kiddkai/atom-node-debugger","homepage":null,"size":4060,"stargazers_count":98,"watchers_count":98,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":8,"forks":21,"open_issues":8,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kiddkai/atom-node-debugger/pulls/116"},"html":{"href":"https://github.com/kiddkai/atom-node-debugger/pull/116"},"issue":{"href":"https://api.github.com/repos/kiddkai/atom-node-debugger/issues/116"},"comments":{"href":"https://api.github.com/repos/kiddkai/atom-node-debugger/issues/116/comments"},"review_comments":{"href":"https://api.github.com/repos/kiddkai/atom-node-debugger/pulls/116/comments"},"review_comment":{"href":"https://api.github.com/repos/kiddkai/atom-node-debugger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kiddkai/atom-node-debugger/pulls/116/commits"},"statuses":{"href":"https://api.github.com/repos/kiddkai/atom-node-debugger/statuses/382802a5179b7cf6b853dc6064c3d438d6dc04dd"}}}}