{"action":"created","issue":{"url":"https://api.github.com/repos/node-inspector/node-inspector/issues/534","labels_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/534/labels{/name}","comments_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/534/comments","events_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/534/events","html_url":"https://github.com/node-inspector/node-inspector/issues/534","id":55262696,"number":534,"title":"Script is resumed as soon as node-inspector is loaded","user":{"login":"ELLIOTTCABLE","id":200,"avatar_url":"https://avatars.githubusercontent.com/u/200?v=3","gravatar_id":"","url":"https://api.github.com/users/ELLIOTTCABLE","html_url":"https://github.com/ELLIOTTCABLE","followers_url":"https://api.github.com/users/ELLIOTTCABLE/followers","following_url":"https://api.github.com/users/ELLIOTTCABLE/following{/other_user}","gists_url":"https://api.github.com/users/ELLIOTTCABLE/gists{/gist_id}","starred_url":"https://api.github.com/users/ELLIOTTCABLE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ELLIOTTCABLE/subscriptions","organizations_url":"https://api.github.com/users/ELLIOTTCABLE/orgs","repos_url":"https://api.github.com/users/ELLIOTTCABLE/repos","events_url":"https://api.github.com/users/ELLIOTTCABLE/events{/privacy}","received_events_url":"https://api.github.com/users/ELLIOTTCABLE/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/node-inspector/node-inspector/labels/BUG","name":"BUG","color":"f03838"},{"url":"https://api.github.com/repos/node-inspector/node-inspector/labels/Easy%20Pick","name":"Easy Pick","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/node-inspector/node-inspector/milestones/4","html_url":"https://github.com/node-inspector/node-inspector/milestones/v0.9.2","labels_url":"https://api.github.com/repos/node-inspector/node-inspector/milestones/4/labels","id":950909,"number":4,"title":"v0.9.2","description":"","creator":{"login":"3y3","id":3931155,"avatar_url":"https://avatars.githubusercontent.com/u/3931155?v=3","gravatar_id":"","url":"https://api.github.com/users/3y3","html_url":"https://github.com/3y3","followers_url":"https://api.github.com/users/3y3/followers","following_url":"https://api.github.com/users/3y3/following{/other_user}","gists_url":"https://api.github.com/users/3y3/gists{/gist_id}","starred_url":"https://api.github.com/users/3y3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3y3/subscriptions","organizations_url":"https://api.github.com/users/3y3/orgs","repos_url":"https://api.github.com/users/3y3/repos","events_url":"https://api.github.com/users/3y3/events{/privacy}","received_events_url":"https://api.github.com/users/3y3/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-01-26T07:59:23Z","updated_at":"2015-02-28T23:55:41Z","due_on":"2015-03-30T21:00:00Z","closed_at":null},"comments":32,"created_at":"2015-01-23T09:47:26Z","updated_at":"2015-03-21T11:09:43Z","closed_at":null,"body":"I'm launching my program with `--debug-brk`. Execution is immediately paused. However, as soon as I load up `node-inspector`'s page in Chrome, the script resumes, and immediately crashes (with the error I'm trying to debug). This gives me no time to set, say, a breakpoint. (Incidentally, `debugger;` statements don't help.)\r\n\r\nI'm not sure what other information I can share, here. My own code is fairly complex; if you'd like to try and reproduce this on your end, the following should approximately duplicate the environment where I'm seeing this:\r\n\r\n    brew install nvm\r\n    nvm install 0.11\r\n    nvm use 0.11\r\n    npm install -g node-inspector\r\n    node-inspector &\r\n    git clone git@github.com:Paws/Rulebook.git --branch letter-01\r\n    git clone git@github.com:ELLIOTTCABLE/Paws.js.git --branch support-rulebook\r\n    cd Paws.js\r\n    npm install\r\n    npm install # yes, run it twice. bugs in my codebase. unrelated.\r\n    node --debug-brk ./Executables/paws.js check \"../Rulebook/The Letters/01. On rules, meaning, and consistency.rules.yaml\"\r\n    # At this point, it should be paused ...\r\n    # ... but as soon as you load up http://127.0.0.1:8080/debug?port=5858, for me, it resumes and crashes.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7978672-script-is-resumed-as-soon-as-node-inspector-is-loaded?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/node-inspector/node-inspector/issues/comments/84312618","html_url":"https://github.com/node-inspector/node-inspector/issues/534#issuecomment-84312618","issue_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/534","id":84312618,"user":{"login":"aparajita","id":22218,"avatar_url":"https://avatars.githubusercontent.com/u/22218?v=3","gravatar_id":"","url":"https://api.github.com/users/aparajita","html_url":"https://github.com/aparajita","followers_url":"https://api.github.com/users/aparajita/followers","following_url":"https://api.github.com/users/aparajita/following{/other_user}","gists_url":"https://api.github.com/users/aparajita/gists{/gist_id}","starred_url":"https://api.github.com/users/aparajita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aparajita/subscriptions","organizations_url":"https://api.github.com/users/aparajita/orgs","repos_url":"https://api.github.com/users/aparajita/repos","events_url":"https://api.github.com/users/aparajita/events{/privacy}","received_events_url":"https://api.github.com/users/aparajita/received_events","type":"User","site_admin":false},"created_at":"2015-03-21T11:09:43Z","updated_at":"2015-03-21T11:09:43Z","body":"@rafis node-inspector 0.9.1 and node 0.11.13 is working for me."}}