{"action":"created","issue":{"url":"https://api.github.com/repos/atom/electron/issues/2335","labels_url":"https://api.github.com/repos/atom/electron/issues/2335/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/2335/comments","events_url":"https://api.github.com/repos/atom/electron/issues/2335/events","html_url":"https://github.com/atom/electron/issues/2335","id":97232801,"number":2335,"title":"--debug-brk doesn't work","user":{"login":"MikeGCV","id":12415581,"avatar_url":"https://avatars.githubusercontent.com/u/12415581?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeGCV","html_url":"https://github.com/MikeGCV","followers_url":"https://api.github.com/users/MikeGCV/followers","following_url":"https://api.github.com/users/MikeGCV/following{/other_user}","gists_url":"https://api.github.com/users/MikeGCV/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeGCV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeGCV/subscriptions","organizations_url":"https://api.github.com/users/MikeGCV/orgs","repos_url":"https://api.github.com/users/MikeGCV/repos","events_url":"https://api.github.com/users/MikeGCV/events{/privacy}","received_events_url":"https://api.github.com/users/MikeGCV/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/electron/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-25T15:21:03Z","updated_at":"2015-08-27T00:19:26Z","closed_at":null,"body":"I'm trying to debug with node-inspector the main process with --debug. The connection is made and the scripts are shown. The problem is with --debug-brk, it seems that the program  doesn't stop at first line. I don't know if i'm doing something wrong\r\n\r\nThank you"},"comment":{"url":"https://api.github.com/repos/atom/electron/issues/comments/135215540","html_url":"https://github.com/atom/electron/issues/2335#issuecomment-135215540","issue_url":"https://api.github.com/repos/atom/electron/issues/2335","id":135215540,"user":{"login":"shrewdlogarithm","id":4963937,"avatar_url":"https://avatars.githubusercontent.com/u/4963937?v=3","gravatar_id":"","url":"https://api.github.com/users/shrewdlogarithm","html_url":"https://github.com/shrewdlogarithm","followers_url":"https://api.github.com/users/shrewdlogarithm/followers","following_url":"https://api.github.com/users/shrewdlogarithm/following{/other_user}","gists_url":"https://api.github.com/users/shrewdlogarithm/gists{/gist_id}","starred_url":"https://api.github.com/users/shrewdlogarithm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shrewdlogarithm/subscriptions","organizations_url":"https://api.github.com/users/shrewdlogarithm/orgs","repos_url":"https://api.github.com/users/shrewdlogarithm/repos","events_url":"https://api.github.com/users/shrewdlogarithm/events{/privacy}","received_events_url":"https://api.github.com/users/shrewdlogarithm/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T00:19:25Z","updated_at":"2015-08-27T00:19:25Z","body":"As of 0.30.6, if I start node-inspector, then open the debug page in Chrome\n(http://127.0.0.1:8080/?ws=127.0.0.1:8080&port=5858) then run my app with\n--debug=5858, the app says \"Debugger listening on port 5858\" but NOTHING\nelse happens, the app does not run.\n\nIf you reload the Chrome debug page whilst it's sitting doing nothing, you\nget this error\n\nE:\\dropbox\\~work\\webstorm\\usl\\livedeploy\\windows>electron --debug=5858\n\nE:\\dropbox\\~work\\webstorm\\usl\\livedeploy\\windows>Debugger listening on port\n5858\n\nevents.js:141\n      throw er; // Unhandled 'error' event\n            ^\nError: read ECONNRESET\n    at exports._errnoException (util.js:814:11)\n    at TCP.onread (net.js:541:26)\n\n\nNot sure if that's related or not???\n\nOn 26 August 2015 at 16:56, Cameron Little <notifications@github.com> wrote:\n\n> I'm in the same position as @shrewdlogarithm\n> <https://github.com/shrewdlogarithm> I think, but on OS X 10.10.5.\n> Running my app with either the --debug-brk or --debug flag doesn't do\n> anything, no app opening, no activity in the debugger, no error messages.\n> Without flags, the app opens fine.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/atom/electron/issues/2335#issuecomment-135078305>.\n>\n"}}