{"action":"created","issue":{"url":"https://api.github.com/repos/node-inspector/node-inspector/issues/907","repository_url":"https://api.github.com/repos/node-inspector/node-inspector","labels_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/907/labels{/name}","comments_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/907/comments","events_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/907/events","html_url":"https://github.com/node-inspector/node-inspector/issues/907","id":172239159,"number":907,"title":"Detached from the target, websocket_closed, cannot read property ref of undefined (NM[0] is undefined)","user":{"login":"bdanmo","id":20465165,"avatar_url":"https://avatars.githubusercontent.com/u/20465165?v=3","gravatar_id":"","url":"https://api.github.com/users/bdanmo","html_url":"https://github.com/bdanmo","followers_url":"https://api.github.com/users/bdanmo/followers","following_url":"https://api.github.com/users/bdanmo/following{/other_user}","gists_url":"https://api.github.com/users/bdanmo/gists{/gist_id}","starred_url":"https://api.github.com/users/bdanmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdanmo/subscriptions","organizations_url":"https://api.github.com/users/bdanmo/orgs","repos_url":"https://api.github.com/users/bdanmo/repos","events_url":"https://api.github.com/users/bdanmo/events{/privacy}","received_events_url":"https://api.github.com/users/bdanmo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-19T23:36:03Z","updated_at":"2016-08-24T23:42:33Z","closed_at":null,"body":"Doing `node-debug src/app.js`\r\n\r\nThe immediate feedback from the terminal is :\r\n\r\n```\r\nNode Inspector v0.12.8\r\nVisit http://127.0.0.1:8080/?port=5858 to start debugging.\r\nDebugging src/app.js\r\n\r\nDebugger listening on [::]:5858\r\n```\r\n\r\nAfter chrome automatically launches and tries to display the page, the chrome windows show this error message:\r\n\r\n\"Detached from the target. Remote debugging has been terminated with reason: websocket_closed. Please re-attach to the new target.\"\r\n\r\nAnd the console shows this error:\r\n\r\n```\r\n/usr/local/lib/node_modules/node-inspector/lib/InjectorClient.js:111\r\n      cb(error, NM[0].ref);\r\n                     ^\r\n\r\nTypeError: Cannot read property 'ref' of undefined\r\n    at InjectorClient.<anonymous> (/usr/local/lib/node_modules/node-inspector/lib/InjectorClient.js:111:22)\r\n    at /usr/local/lib/node_modules/node-inspector/lib/DebuggerClient.js:121:7\r\n    at Object.create.processResponse.value (/usr/local/lib/node_modules/node-inspector/lib/callback.js:23:20)\r\n    at Debugger._processResponse (/usr/local/lib/node_modules/node-inspector/lib/debugger.js:95:21)\r\n    at Protocol.execute (_debugger.js:121:14)\r\n    at emitOne (events.js:96:13)\r\n    at Socket.emit (events.js:188:7)\r\n    at readableAddChunk (_stream_readable.js:177:18)\r\n    at Socket.Readable.push (_stream_readable.js:135:10)\r\n    at TCP.onread (net.js:542:20)\r\n\r\n```\r\nI've searched everywhere for a solution to this problem and haven't found one. I hope you can be of assistance!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/node-inspector/node-inspector/issues/comments/242241817","html_url":"https://github.com/node-inspector/node-inspector/issues/907#issuecomment-242241817","issue_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/907","id":242241817,"user":{"login":"bertolo1988","id":4508759,"avatar_url":"https://avatars.githubusercontent.com/u/4508759?v=3","gravatar_id":"","url":"https://api.github.com/users/bertolo1988","html_url":"https://github.com/bertolo1988","followers_url":"https://api.github.com/users/bertolo1988/followers","following_url":"https://api.github.com/users/bertolo1988/following{/other_user}","gists_url":"https://api.github.com/users/bertolo1988/gists{/gist_id}","starred_url":"https://api.github.com/users/bertolo1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertolo1988/subscriptions","organizations_url":"https://api.github.com/users/bertolo1988/orgs","repos_url":"https://api.github.com/users/bertolo1988/repos","events_url":"https://api.github.com/users/bertolo1988/events{/privacy}","received_events_url":"https://api.github.com/users/bertolo1988/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T23:42:33Z","updated_at":"2016-08-24T23:42:33Z","body":"+1"}}
{"actor":{"display_login":"bertolo1988"}}