{"action":"opened","issue":{"url":"https://api.github.com/repos/chrmarti/testissues/issues/1279","repository_url":"https://api.github.com/repos/chrmarti/testissues","labels_url":"https://api.github.com/repos/chrmarti/testissues/issues/1279/labels{/name}","comments_url":"https://api.github.com/repos/chrmarti/testissues/issues/1279/comments","events_url":"https://api.github.com/repos/chrmarti/testissues/issues/1279/events","html_url":"https://github.com/chrmarti/testissues/issues/1279","id":240057427,"number":1279,"title":"调试以下代码时不会出现结果，使用node 直接运行可以出现正确结果","user":{"login":"vscodebot[bot]","id":28792856,"avatar_url":"https://avatars1.githubusercontent.com/in/2406?v=3","gravatar_id":"","url":"https://api.github.com/users/vscodebot%5Bbot%5D","html_url":"https://github.com/apps/vscodebot","followers_url":"https://api.github.com/users/vscodebot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodebot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodebot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodebot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodebot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodebot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodebot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-03T03:10:11Z","updated_at":"2017-07-03T03:10:11Z","closed_at":null,"body":"- VSCode Version: Code 1.13.1 (379d2efb5539b09112c793d3d9a413017d736f89, 2017-06-14T18:13:05.928Z)\r\n- OS Version: Darwin x64 16.4.0\r\n- Extensions: none\r\n---\r\n\r\nSteps to Reproduce:\r\n\r\n1.输入以下代码\r\n`\r\nfunction timeout(ms){\r\n    return new Promise((resolve)=>{\r\n        setTimeout(resolve,ms);\r\n    })\r\n}\r\nasync function asyncPrint(value,ms){\r\n    await timeout(ms);\r\n    console.log(value);\r\n}\r\n\r\nasyncPrint('hello world',500);\r\n`\r\n正确结果应为500毫秒后输出hello world ，但是调试的时候并没有输出结果\r\n"}}
{"actor":{"display_login":"vscodebot"}}