{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/7117","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/7117/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/7117/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/7117/events","html_url":"https://github.com/Microsoft/vscode/issues/7117","id":158069103,"number":7117,"title":"Source map don't refresh after source change/save & node restart.  Attaching/re-attaching to Meteor.js server (meteor debug)","user":{"login":"johnf76","id":6896262,"avatar_url":"https://avatars.githubusercontent.com/u/6896262?v=3","gravatar_id":"","url":"https://api.github.com/users/johnf76","html_url":"https://github.com/johnf76","followers_url":"https://api.github.com/users/johnf76/followers","following_url":"https://api.github.com/users/johnf76/following{/other_user}","gists_url":"https://api.github.com/users/johnf76/gists{/gist_id}","starred_url":"https://api.github.com/users/johnf76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnf76/subscriptions","organizations_url":"https://api.github.com/users/johnf76/orgs","repos_url":"https://api.github.com/users/johnf76/repos","events_url":"https://api.github.com/users/johnf76/events{/privacy}","received_events_url":"https://api.github.com/users/johnf76/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/debug","name":"debug","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"weinand","id":1898161,"avatar_url":"https://avatars.githubusercontent.com/u/1898161?v=3","gravatar_id":"","url":"https://api.github.com/users/weinand","html_url":"https://github.com/weinand","followers_url":"https://api.github.com/users/weinand/followers","following_url":"https://api.github.com/users/weinand/following{/other_user}","gists_url":"https://api.github.com/users/weinand/gists{/gist_id}","starred_url":"https://api.github.com/users/weinand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weinand/subscriptions","organizations_url":"https://api.github.com/users/weinand/orgs","repos_url":"https://api.github.com/users/weinand/repos","events_url":"https://api.github.com/users/weinand/events{/privacy}","received_events_url":"https://api.github.com/users/weinand/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2016-06-02T06:36:39Z","updated_at":"2016-06-04T09:34:34Z","closed_at":null,"body":"- VSCode Version:  1.1.1\r\n- OS Version:  Linux Mint 14 64bit\r\n\r\nSteps to Reproduce:\r\n\r\n1. Start any meteor application via \"meteor debug\"\r\n2. When node pauses, attached debugger \r\n        {\r\n            \"name\": \"Attach Server\",\r\n            \"type\": \"node\",\r\n            \"request\": \"attach\",\r\n            \"port\": 5858,\r\n            \"address\": \"127.0.0.1\",\r\n            \"restart\": true,\r\n            \"sourceMaps\": true,\r\n            \"outDir\": null,\r\n            \"localRoot\": \"${workspaceRoot}\",\r\n            \"remoteRoot\": null\r\n        },\r\n3. The program pauses for debugging perfectly..\r\n4. Add, remove or change any line of source or even change location of debugger statement and save.\r\n5. detach debugger.\r\n6. Break out of meteor instance (ctrl-c).\r\n7. Start meteor via \"meteor debug\" (#1 above)\r\n8. Attach debugger (#2 above)\r\n\r\nISSUE:\r\n9. The program WILL pause at the new debugger location and correctly run the code changes, however the source map shows the source before modification (obviously making debugging impossible).  To correct and get the source map recreated/updated I need to closing VSCode and re-starting, then re-attaching the debugger.\r\n\r\nSide Issue:  The 'F9' debug breaks don't work at all when attaching to meteor application line above, I have to use 'debugger' statements.  It'd be so much more convenient use pause with F9 breaks.. F9 works just fine when launching a straight node application, not sure what the difference is or if I'm doing something wrong?\r\n\r\nBTW, VSCode kicks ass, thanks for building this, it's so fast and nice to work with.. I've been using Webstorm for node/meteor for years, I switched, the speed of the application is night & day (debugging is where is really hit home though (except for having to type 'debugger' all over :)). \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/223746476","html_url":"https://github.com/Microsoft/vscode/issues/7117#issuecomment-223746476","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/7117","id":223746476,"user":{"login":"johnf76","id":6896262,"avatar_url":"https://avatars.githubusercontent.com/u/6896262?v=3","gravatar_id":"","url":"https://api.github.com/users/johnf76","html_url":"https://github.com/johnf76","followers_url":"https://api.github.com/users/johnf76/followers","following_url":"https://api.github.com/users/johnf76/following{/other_user}","gists_url":"https://api.github.com/users/johnf76/gists{/gist_id}","starred_url":"https://api.github.com/users/johnf76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnf76/subscriptions","organizations_url":"https://api.github.com/users/johnf76/orgs","repos_url":"https://api.github.com/users/johnf76/repos","events_url":"https://api.github.com/users/johnf76/events{/privacy}","received_events_url":"https://api.github.com/users/johnf76/received_events","type":"User","site_admin":false},"created_at":"2016-06-04T09:34:34Z","updated_at":"2016-06-04T09:34:34Z","body":"Thank you for you help @weinand, much appreciated!  I just tried using breakpoints in the chrome node-inspector, same here, breaks do not work.  I don't understand enough about how it all works, is the break line issue more of a problem with the generated source maps?  Is something to possibly report as an issue w/ Meteor or is more of an item that can only be enhanced to work on the node-inspector / VSCode end?  The debugger statements work, so it's not a big deal, but it is convenient to not have to type debugger; all over the place :) \r\n\r\nNot quite the place for asking, but curious since you played with it for a few, what are your initial thoughts of Meteor?  Just curious if/what frameworks you or others on the team use for apps or if it's mainly straight TypeScript/JS and grunt/webpack/etc.  The biggest issue for me so far is that I really want to use TypeScript and it's not a trivial task to setup with Meteor & React, dynamic types is JS just don't feel right.  :)\r\n\r\nAnyway, thank you again, I'm looking forward to the update."}}
{"actor":{"display_login":"johnf76"}}