{"action":"created","issue":{"url":"https://api.github.com/repos/node-inspector/node-inspector/issues/905","repository_url":"https://api.github.com/repos/node-inspector/node-inspector","labels_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/905/labels{/name}","comments_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/905/comments","events_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/905/events","html_url":"https://github.com/node-inspector/node-inspector/issues/905","id":171537814,"number":905,"title":"Throwing exception on simple use case","user":{"login":"westhomas","id":953369,"avatar_url":"https://avatars.githubusercontent.com/u/953369?v=3","gravatar_id":"","url":"https://api.github.com/users/westhomas","html_url":"https://github.com/westhomas","followers_url":"https://api.github.com/users/westhomas/followers","following_url":"https://api.github.com/users/westhomas/following{/other_user}","gists_url":"https://api.github.com/users/westhomas/gists{/gist_id}","starred_url":"https://api.github.com/users/westhomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westhomas/subscriptions","organizations_url":"https://api.github.com/users/westhomas/orgs","repos_url":"https://api.github.com/users/westhomas/repos","events_url":"https://api.github.com/users/westhomas/events{/privacy}","received_events_url":"https://api.github.com/users/westhomas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":41,"created_at":"2016-08-16T23:00:13Z","updated_at":"2016-09-24T04:12:36Z","closed_at":null,"body":"First time using node-inspector. Here's my setup:\r\n\r\n```\r\n$ nvm --version\r\n0.31.4\r\n$ nvm current\r\nv6.4.0\r\n$ node --version\r\nv6.4.0\r\n$ npm install -g node-inspector\r\n```\r\n\r\nMy simple test file:\r\n\r\n```\r\n//test.js\r\nvar d = {asdf: 123}\r\ndebugger;\r\nconsole.log(d)\r\n```\r\n\r\nFiring up the debugger throws exception:\r\n```\r\n$ node-debug test.js\r\nNode Inspector v0.12.8\r\nVisit http://127.0.0.1:8080/?port=5858 to start debugging.\r\nDebugging `test.js`\r\n\r\nDebugger listening on [::]:5858\r\n/Users/wes/.nvm/versions/node/v6.4.0/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> (/Users/wes/.nvm/versions/node/v6.4.0/lib/node_modules/node-inspector/lib/InjectorClient.js:111:22)\r\n    at /Users/wes/.nvm/versions/node/v6.4.0/lib/node_modules/node-inspector/lib/DebuggerClient.js:121:7\r\n    at Object.create.processResponse.value (/Users/wes/.nvm/versions/node/v6.4.0/lib/node_modules/node-inspector/lib/callback.js:23:20)\r\n    at Debugger._processResponse (/Users/wes/.nvm/versions/node/v6.4.0/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\n\r\n"},"comment":{"url":"https://api.github.com/repos/node-inspector/node-inspector/issues/comments/249343886","html_url":"https://github.com/node-inspector/node-inspector/issues/905#issuecomment-249343886","issue_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/905","id":249343886,"user":{"login":"vird","id":1259866,"avatar_url":"https://avatars.githubusercontent.com/u/1259866?v=3","gravatar_id":"","url":"https://api.github.com/users/vird","html_url":"https://github.com/vird","followers_url":"https://api.github.com/users/vird/followers","following_url":"https://api.github.com/users/vird/following{/other_user}","gists_url":"https://api.github.com/users/vird/gists{/gist_id}","starred_url":"https://api.github.com/users/vird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vird/subscriptions","organizations_url":"https://api.github.com/users/vird/orgs","repos_url":"https://api.github.com/users/vird/repos","events_url":"https://api.github.com/users/vird/events{/privacy}","received_events_url":"https://api.github.com/users/vird/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T04:12:36Z","updated_at":"2016-09-24T04:12:36Z","body":"See hack/workaround solution https://github.com/node-inspector/node-inspector/issues/928#issuecomment-249343838"}}
{"actor":{"display_login":"vird"}}