{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/47624","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/47624/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/47624/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/47624/events","html_url":"https://github.com/Microsoft/vscode/issues/47624","id":313148786,"number":47624,"title":"Using console.time() and console.timeEnd() still results in 2 messages printed","user":{"login":"wyckster","id":6098274,"avatar_url":"https://avatars3.githubusercontent.com/u/6098274?v=4","gravatar_id":"","url":"https://api.github.com/users/wyckster","html_url":"https://github.com/wyckster","followers_url":"https://api.github.com/users/wyckster/followers","following_url":"https://api.github.com/users/wyckster/following{/other_user}","gists_url":"https://api.github.com/users/wyckster/gists{/gist_id}","starred_url":"https://api.github.com/users/wyckster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyckster/subscriptions","organizations_url":"https://api.github.com/users/wyckster/orgs","repos_url":"https://api.github.com/users/wyckster/repos","events_url":"https://api.github.com/users/wyckster/events{/privacy}","received_events_url":"https://api.github.com/users/wyckster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"weinand","id":1898161,"avatar_url":"https://avatars0.githubusercontent.com/u/1898161?v=4","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},"assignees":[{"login":"weinand","id":1898161,"avatar_url":"https://avatars0.githubusercontent.com/u/1898161?v=4","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":0,"created_at":"2018-04-11T02:08:54Z","updated_at":"2018-04-11T06:31:43Z","closed_at":null,"author_association":"NONE","body":"<!-- Do you have a question? Please ask it on https://stackoverflow.com/questions/tagged/vscode. -->\r\n\r\n<!-- Use Help > Report Issue to prefill these. -->\r\n- VSCode Version: 1.21.1\r\n79b44aa704ce542d8ca4a3cc44cfca566e7720f1\r\nx64\r\n- OS Version: Windows 10 64-bit\r\n\r\n<!-- Launch with `code --disable-extensions` to check. -->\r\nDoes this issue occur when all extensions are disabled?: Yes\r\n\r\nSteps to Reproduce:\r\n\r\n1. Create the following app.js file\r\n```\r\nconsole.time('a');\r\nconsole.endTime('a');\r\n```\r\n2. Create a debug configuration that launches node with app.js.  Excerpt:\r\n```\r\n    {\r\n      \"type\": \"node\",\r\n      \"request\": \"launch\",\r\n      \"name\": \"App\",\r\n      \"program\": \"${workspaceFolder}\\\\app.js\"\r\n    },\r\n```\r\n3. Start Debugging (F5)\r\n\r\n### Actual output\r\nIt shows two messages.\r\n```\r\na: 0.206300999969244ms\r\na: 0.480ms\r\n```\r\n\r\n### Expected output\r\nJust one message.  Maybe something like:\r\n```\r\na: 0.480ms\r\n```\r\n\r\n### More info\r\nThis does **not** reproduce when launching node from the command line.  e.g.:\r\n```\r\nnode app.js\r\n```\r\n...just shows the expected output.\r\n```\r\na: 0.480ms\r\n```\r\nSo it only occurs when running in the debugger.\r\n\r\nThe two times are different and it's not clear which one is the real time.  (Although one is formatted to 3 digits after the decimal places, so I'm guessing that's the real one.)\r\n\r\n### Related issue\r\n\r\nI see #38376. Conversation in that issue makes the claim that this only happens when debugging an extension.  However, in my case, **no extension** is installed or enabled or being debugged.  So I feel the issue is worth re-opening.  Furthermore, that issue is locked and I cannot comment on it.\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/380342506","html_url":"https://github.com/Microsoft/vscode/issues/47624#issuecomment-380342506","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/47624","id":380342506,"user":{"login":"weinand","id":1898161,"avatar_url":"https://avatars0.githubusercontent.com/u/1898161?v=4","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},"created_at":"2018-04-11T06:31:43Z","updated_at":"2018-04-11T06:31:43Z","author_association":"MEMBER","body":"/findDuplicates"}}
{"actor":{"display_login":"weinand"}}