{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/23965","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/23965/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/23965/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/23965/events","html_url":"https://github.com/Microsoft/vscode/issues/23965","id":219754261,"number":23965,"title":"extension.node-debug.startSession failed - linux, nvm and quick launch","user":{"login":"dmblack","id":14871038,"avatar_url":"https://avatars2.githubusercontent.com/u/14871038?v=3","gravatar_id":"","url":"https://api.github.com/users/dmblack","html_url":"https://github.com/dmblack","followers_url":"https://api.github.com/users/dmblack/followers","following_url":"https://api.github.com/users/dmblack/following{/other_user}","gists_url":"https://api.github.com/users/dmblack/gists{/gist_id}","starred_url":"https://api.github.com/users/dmblack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmblack/subscriptions","organizations_url":"https://api.github.com/users/dmblack/orgs","repos_url":"https://api.github.com/users/dmblack/repos","events_url":"https://api.github.com/users/dmblack/events{/privacy}","received_events_url":"https://api.github.com/users/dmblack/received_events","type":"User","site_admin":false},"labels":[{"id":291054922,"url":"https://api.github.com/repos/Microsoft/vscode/labels/debug","name":"debug","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":{"login":"roblourens","id":323878,"avatar_url":"https://avatars0.githubusercontent.com/u/323878?v=3","gravatar_id":"","url":"https://api.github.com/users/roblourens","html_url":"https://github.com/roblourens","followers_url":"https://api.github.com/users/roblourens/followers","following_url":"https://api.github.com/users/roblourens/following{/other_user}","gists_url":"https://api.github.com/users/roblourens/gists{/gist_id}","starred_url":"https://api.github.com/users/roblourens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblourens/subscriptions","organizations_url":"https://api.github.com/users/roblourens/orgs","repos_url":"https://api.github.com/users/roblourens/repos","events_url":"https://api.github.com/users/roblourens/events{/privacy}","received_events_url":"https://api.github.com/users/roblourens/received_events","type":"User","site_admin":false},"assignees":[{"login":"roblourens","id":323878,"avatar_url":"https://avatars0.githubusercontent.com/u/323878?v=3","gravatar_id":"","url":"https://api.github.com/users/roblourens","html_url":"https://github.com/roblourens","followers_url":"https://api.github.com/users/roblourens/followers","following_url":"https://api.github.com/users/roblourens/following{/other_user}","gists_url":"https://api.github.com/users/roblourens/gists{/gist_id}","starred_url":"https://api.github.com/users/roblourens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblourens/subscriptions","organizations_url":"https://api.github.com/users/roblourens/orgs","repos_url":"https://api.github.com/users/roblourens/repos","events_url":"https://api.github.com/users/roblourens/events{/privacy}","received_events_url":"https://api.github.com/users/roblourens/received_events","type":"User","site_admin":false},{"login":"weinand","id":1898161,"avatar_url":"https://avatars3.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":33,"created_at":"2017-04-06T00:34:06Z","updated_at":"2017-06-06T13:48:08Z","closed_at":"2017-04-06T04:41:35Z","body":"**UPDATE: MAC Users**\r\nLots of users are reporting the same, or similar, errors when using VSCode on a MAC.\r\nThe fix for this error is to update the protocol property to 'legacy', in your launch.json file.\r\n`\"protocol\": \"legacy\"`\r\n\r\n**Root Cause:**\r\nnvm (https://github.com/creationix/nvm) provides node via .bashrc, which these launchers to not invoke.\r\n\r\n**Resolution / Workaround:**\r\nLaunch code with exposed path for node.\r\n\r\nIn my case; via gnome-terminal (Which loads .bashrc)\r\n\r\n**Original Report:**\r\n- VSCode Version: \r\nVersion 1.11.0\r\nCommit 9122ec4b1068bd391e41974f46a4b54c1b9c90f9\r\nDate 2017-04-05T21:13:24.700Z\r\nShell 1.4.6\r\nRenderer 53.0.2785.143\r\nNode 6.5.0\r\n\r\n- OS Version:\r\ndebian_version\r\n8.7\r\n\r\nSteps to Reproduce:\r\n1. Launch `code` via Run Program / Quick Launch (ALT + F2)\r\n2. Attempt to use any form of Debugger\r\n\r\nError Message: \r\nRunning the contributed command:'extension.node-debug.startSession' failed.\r\n\r\n(edited)\r\nEnsuring node is available in your ENV, and launching from terminal is a valid workaround.\r\n`code`\r\n\r\nFeel free to close this issue if it's expected behavior. This issue was logged as search results for the error message are non-existent."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/306491432","html_url":"https://github.com/Microsoft/vscode/issues/23965#issuecomment-306491432","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/23965","id":306491432,"user":{"login":"amigo421","id":3259933,"avatar_url":"https://avatars1.githubusercontent.com/u/3259933?v=3","gravatar_id":"","url":"https://api.github.com/users/amigo421","html_url":"https://github.com/amigo421","followers_url":"https://api.github.com/users/amigo421/followers","following_url":"https://api.github.com/users/amigo421/following{/other_user}","gists_url":"https://api.github.com/users/amigo421/gists{/gist_id}","starred_url":"https://api.github.com/users/amigo421/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amigo421/subscriptions","organizations_url":"https://api.github.com/users/amigo421/orgs","repos_url":"https://api.github.com/users/amigo421/repos","events_url":"https://api.github.com/users/amigo421/events{/privacy}","received_events_url":"https://api.github.com/users/amigo421/received_events","type":"User","site_admin":false},"created_at":"2017-06-06T13:48:08Z","updated_at":"2017-06-06T13:48:08Z","body":"the issue is closed, but can someone explain me how to avoid the problem? \r\nvscode 1.12.2\r\nos: mint 18.1\r\nnode 7.2.1"}}
{"actor":{"display_login":"amigo421"}}