{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/16135","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/16135/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/16135/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/16135/events","html_url":"https://github.com/Microsoft/vscode/issues/16135","id":191937774,"number":16135,"title":"Debugger - Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: Parse Error).","user":{"login":"mosluce","id":1487051,"avatar_url":"https://avatars.githubusercontent.com/u/1487051?v=3","gravatar_id":"","url":"https://api.github.com/users/mosluce","html_url":"https://github.com/mosluce","followers_url":"https://api.github.com/users/mosluce/followers","following_url":"https://api.github.com/users/mosluce/following{/other_user}","gists_url":"https://api.github.com/users/mosluce/gists{/gist_id}","starred_url":"https://api.github.com/users/mosluce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosluce/subscriptions","organizations_url":"https://api.github.com/users/mosluce/orgs","repos_url":"https://api.github.com/users/mosluce/repos","events_url":"https://api.github.com/users/mosluce/events{/privacy}","received_events_url":"https://api.github.com/users/mosluce/received_events","type":"User","site_admin":false},"labels":[{"id":256129993,"url":"https://api.github.com/repos/Microsoft/vscode/labels/bug","name":"bug","color":"E57E7E","default":true},{"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://avatars.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://avatars.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}],"milestone":null,"comments":6,"created_at":"2016-11-28T07:39:53Z","updated_at":"2016-12-01T19:12:43Z","closed_at":"2016-11-28T15:27:14Z","body":"- VSCode Version: 0b847998d914ff84fd9c13b2972cc8803745c24d\r\n- OS Version: 10.12.1（16B2555）\r\n- Node: 7.2.0\r\n\r\nSteps to Reproduce:\r\n\r\n1. node --harmony_async_await --debug-brk server.js\r\n2. \"Debugger listening on 127.0.0.1:5858\" is shown on terminal\r\n3. Run Attach to Process\r\n4. VS Code show Error: Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: Parse Error).\r\n\r\nmy launch.json\r\n```\r\n{\r\n    // Use IntelliSense to find out which attributes exist for node debugging\r\n    // Use hover for the description of the existing attributes\r\n    // For further information visit https://go.microsoft.com/fwlink/?linkid=830387\r\n    \"version\": \"0.2.0\",\r\n    \"configurations\": [\r\n        {\r\n            \"name\": \"Launch Program\",\r\n            \"type\": \"node2\",\r\n            \"request\": \"launch\",\r\n            \"program\": \"${workspaceRoot}/server.js\",\r\n            \"cwd\": \"${workspaceRoot}\"\r\n        },\r\n        {\r\n            \"name\": \"Attach to Process\",\r\n            \"type\": \"node2\",\r\n            \"request\": \"attach\",\r\n            \"port\": 5858\r\n        }\r\n    ]\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/264264837","html_url":"https://github.com/Microsoft/vscode/issues/16135#issuecomment-264264837","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/16135","id":264264837,"user":{"login":"mosluce","id":1487051,"avatar_url":"https://avatars.githubusercontent.com/u/1487051?v=3","gravatar_id":"","url":"https://api.github.com/users/mosluce","html_url":"https://github.com/mosluce","followers_url":"https://api.github.com/users/mosluce/followers","following_url":"https://api.github.com/users/mosluce/following{/other_user}","gists_url":"https://api.github.com/users/mosluce/gists{/gist_id}","starred_url":"https://api.github.com/users/mosluce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosluce/subscriptions","organizations_url":"https://api.github.com/users/mosluce/orgs","repos_url":"https://api.github.com/users/mosluce/repos","events_url":"https://api.github.com/users/mosluce/events{/privacy}","received_events_url":"https://api.github.com/users/mosluce/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T19:12:43Z","updated_at":"2016-12-01T19:12:43Z","body":"launch and attach are working with settings\r\n\r\n> scripts\r\n```\r\n\"scripts\": {\r\n  \"start\": \"node index.js\",\r\n  \"debug\": \"node --harmony_async_await --debug-brk --inspect index.js\"\r\n}\r\n```\r\n\r\n> launch.json\r\n\r\n```\r\n{\r\n    // Use IntelliSense to find out which attributes exist for node debugging\r\n    // Use hover for the description of the existing attributes\r\n    // For further information visit https://go.microsoft.com/fwlink/?linkid=830387\r\n    \"version\": \"0.2.0\",\r\n    \"configurations\": [\r\n        {\r\n            \"name\": \"Launch Program\",\r\n            \"type\": \"node2\",\r\n            \"request\": \"launch\",\r\n            \"program\": \"${workspaceRoot}/index.js\",\r\n            \"cwd\": \"${workspaceRoot}\",\r\n            \"runtimeArgs\": [\r\n                \"--harmony_async_await\"\r\n            ]\r\n        },\r\n        {\r\n            \"name\": \"Attach to Process\",\r\n            \"type\": \"node2\",\r\n            \"request\": \"attach\",\r\n            \"port\": 9229\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\nthanks for your help"}}
{"actor":{"display_login":"mosluce"}}