{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/9275","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/9275/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/9275/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/9275/events","html_url":"https://github.com/meteor/meteor/issues/9275","id":269751973,"node_id":"MDU6SXNzdWUyNjk3NTE5NzM=","number":9275,"title":"Cannot step over a fiber yield when debugging server with Meteor 1.6","user":{"login":"mattmccutchen","id":8885753,"node_id":"MDQ6VXNlcjg4ODU3NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/8885753?v=4","gravatar_id":"","url":"https://api.github.com/users/mattmccutchen","html_url":"https://github.com/mattmccutchen","followers_url":"https://api.github.com/users/mattmccutchen/followers","following_url":"https://api.github.com/users/mattmccutchen/following{/other_user}","gists_url":"https://api.github.com/users/mattmccutchen/gists{/gist_id}","starred_url":"https://api.github.com/users/mattmccutchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattmccutchen/subscriptions","organizations_url":"https://api.github.com/users/mattmccutchen/orgs","repos_url":"https://api.github.com/users/mattmccutchen/repos","events_url":"https://api.github.com/users/mattmccutchen/events{/privacy}","received_events_url":"https://api.github.com/users/mattmccutchen/received_events","type":"User","site_admin":false},"labels":[{"id":164742717,"node_id":"MDU6TGFiZWwxNjQ3NDI3MTc=","url":"https://api.github.com/repos/meteor/meteor/labels/Project:Tool","name":"Project:Tool","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":{"login":"benjamn","id":5750,"node_id":"MDQ6VXNlcjU3NTA=","avatar_url":"https://avatars0.githubusercontent.com/u/5750?v=4","gravatar_id":"","url":"https://api.github.com/users/benjamn","html_url":"https://github.com/benjamn","followers_url":"https://api.github.com/users/benjamn/followers","following_url":"https://api.github.com/users/benjamn/following{/other_user}","gists_url":"https://api.github.com/users/benjamn/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamn/subscriptions","organizations_url":"https://api.github.com/users/benjamn/orgs","repos_url":"https://api.github.com/users/benjamn/repos","events_url":"https://api.github.com/users/benjamn/events{/privacy}","received_events_url":"https://api.github.com/users/benjamn/received_events","type":"User","site_admin":false},"assignees":[{"login":"benjamn","id":5750,"node_id":"MDQ6VXNlcjU3NTA=","avatar_url":"https://avatars0.githubusercontent.com/u/5750?v=4","gravatar_id":"","url":"https://api.github.com/users/benjamn","html_url":"https://github.com/benjamn","followers_url":"https://api.github.com/users/benjamn/followers","following_url":"https://api.github.com/users/benjamn/following{/other_user}","gists_url":"https://api.github.com/users/benjamn/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamn/subscriptions","organizations_url":"https://api.github.com/users/benjamn/orgs","repos_url":"https://api.github.com/users/benjamn/repos","events_url":"https://api.github.com/users/benjamn/events{/privacy}","received_events_url":"https://api.github.com/users/benjamn/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/meteor/meteor/milestones/47","html_url":"https://github.com/meteor/meteor/milestone/47","labels_url":"https://api.github.com/repos/meteor/meteor/milestones/47/labels","id":2931507,"node_id":"MDk6TWlsZXN0b25lMjkzMTUwNw==","number":47,"title":"Release 1.7","description":"","creator":{"login":"benjamn","id":5750,"node_id":"MDQ6VXNlcjU3NTA=","avatar_url":"https://avatars0.githubusercontent.com/u/5750?v=4","gravatar_id":"","url":"https://api.github.com/users/benjamn","html_url":"https://github.com/benjamn","followers_url":"https://api.github.com/users/benjamn/followers","following_url":"https://api.github.com/users/benjamn/following{/other_user}","gists_url":"https://api.github.com/users/benjamn/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamn/subscriptions","organizations_url":"https://api.github.com/users/benjamn/orgs","repos_url":"https://api.github.com/users/benjamn/repos","events_url":"https://api.github.com/users/benjamn/events{/privacy}","received_events_url":"https://api.github.com/users/benjamn/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":69,"state":"open","created_at":"2017-11-22T16:38:48Z","updated_at":"2018-06-18T14:05:43Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2017-10-30T20:58:49Z","updated_at":"2018-07-27T15:07:22Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When I'm debugging the server of a Meteor 1.6 application using the Node.js built-in debugger, when I try to step over a function call that yields the current fiber, the server goes on running and does not stop on the next line of code.  Using Meteor 1.5.2.2 and node-inspector, the server properly stops on the next line.  Maybe it's possible to use node-inspector with Meteor 1.6, but [this doesn't look promising](https://github.com/meteor/meteor/pull/8728#issuecomment-340167769).  So this looks like a significant loss of debugging functionality for server code that (for example) writes to Mongo collections.  This may be enough grounds for me to hold off on upgrading to Meteor 1.6.\r\n\r\nI imagine the underlying incompatibility between fibers and the Node.js built-in debugger is nothing Meteor-specific, so I was surprised not to find any discussion of the problem in a few web searches.\r\n\r\nAs requested by the bug template, I'm using the 64-bit Linux version of Meteor; I doubt it matters.\r\n\r\nReproduction:\r\n1. Run:\r\n<pre>\r\ngit clone https://github.com/mattmccutchen/meteor-debug-yield-repro\r\ncd meteor-debug-yield-repro\r\nmeteor npm install    # https://github.com/meteor/meteor/pull/8165 ...\r\nmeteor debug\r\n</pre>\r\n2. Open http://localhost:8080/?port=5858 in Google Chrome.  You should be on the second `debugger` statement (there seems to be a problem with stopping early in server startup).\r\n3. Press F10 repeatedly.  The debugger should eventually step to `console.log(\"after\");` and stop there.\r\n4. Exit the server with Ctrl-C.\r\n5. Run: `meteor --release=1.6 --inspect`\r\n6. Open the Google Chrome-based debugger (about:inspect, \"Open dedicated DevTools for Node\").  You should be on the first `debugger` statement.\r\n7. Press \"Resume\".  You should now be on the second `debugger` statement.\r\n8. Press F10 repeatedly.  When you are on `f.wait();` and press F10, the `console.log(\"after\");` executes without the debugger first stopping on that line."},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/408447242","html_url":"https://github.com/meteor/meteor/issues/9275#issuecomment-408447242","issue_url":"https://api.github.com/repos/meteor/meteor/issues/9275","id":408447242,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODQ0NzI0Mg==","user":{"login":"veered","id":247408,"node_id":"MDQ6VXNlcjI0NzQwOA==","avatar_url":"https://avatars1.githubusercontent.com/u/247408?v=4","gravatar_id":"","url":"https://api.github.com/users/veered","html_url":"https://github.com/veered","followers_url":"https://api.github.com/users/veered/followers","following_url":"https://api.github.com/users/veered/following{/other_user}","gists_url":"https://api.github.com/users/veered/gists{/gist_id}","starred_url":"https://api.github.com/users/veered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veered/subscriptions","organizations_url":"https://api.github.com/users/veered/orgs","repos_url":"https://api.github.com/users/veered/repos","events_url":"https://api.github.com/users/veered/events{/privacy}","received_events_url":"https://api.github.com/users/veered/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T15:07:22Z","updated_at":"2018-07-27T15:07:22Z","author_association":"CONTRIBUTOR","body":"@benjamn woooooooooooooooooooooooooooooooo thanks!\r\n\r\nThe Chrome team recently released ndb (https://github.com/GoogleChromeLabs/ndb). Has some pretty neat features. Might make the debugging experience even better.\r\n\r\nHmm... have you ever tried using the devtools for working with the build tool?"}}
{"actor":{"display_login":"veered"}}