{"action":"created","issue":{"url":"https://api.github.com/repos/node-inspector/node-inspector/issues/416","labels_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/416/labels{/name}","comments_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/416/comments","events_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/416/events","html_url":"https://github.com/node-inspector/node-inspector/issues/416","id":39376299,"number":416,"title":"Cannot set break within a module loaded with require","user":{"login":"vytronics","id":6130681,"avatar_url":"https://avatars.githubusercontent.com/u/6130681?v=3","gravatar_id":"","url":"https://api.github.com/users/vytronics","html_url":"https://github.com/vytronics","followers_url":"https://api.github.com/users/vytronics/followers","following_url":"https://api.github.com/users/vytronics/following{/other_user}","gists_url":"https://api.github.com/users/vytronics/gists{/gist_id}","starred_url":"https://api.github.com/users/vytronics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vytronics/subscriptions","organizations_url":"https://api.github.com/users/vytronics/orgs","repos_url":"https://api.github.com/users/vytronics/repos","events_url":"https://api.github.com/users/vytronics/events{/privacy}","received_events_url":"https://api.github.com/users/vytronics/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/node-inspector/node-inspector/labels/BUG","name":"BUG","color":"f03838"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/node-inspector/node-inspector/milestones/5","html_url":"https://github.com/node-inspector/node-inspector/milestones/0.10.1","labels_url":"https://api.github.com/repos/node-inspector/node-inspector/milestones/5/labels","id":1087864,"number":5,"title":"0.10.1","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":1,"closed_issues":7,"state":"open","created_at":"2015-04-28T17:09:02Z","updated_at":"2015-05-13T21:39:53Z","due_on":"2015-05-14T21:00:00Z","closed_at":null},"comments":13,"created_at":"2014-08-03T18:50:17Z","updated_at":"2015-05-13T21:40:37Z","closed_at":null,"body":"Installed 0.7.4 via npm on Windows 8.1 for Chrome 36.0.1985.125. Will not break on a breakpoint set within a module loaded with require via web page client. Will pause and resume though.\r\n\r\nStarted node-inspector: \r\n$ node-inspector\r\nNode Inspector v0.7.4\r\nVisit http://127.0.0.1:8080/debug?port=5858 to start debugging.\r\n\r\nStarted my node application:\r\nnode --debug test.js\r\n\r\nOpened debugger link in Chrome. Navigated to my module source and created a breakpoint and script would not break on the selected line. Even tried restarting application to break on first line and then add breakpoint in module.\r\n\r\nDowngraded to 0.1.10\r\nnpm uninstall -g node-inspector\r\nnpm install -g node-inspector@0.1.10\r\n\r\nStarted node application to break on first line\r\nnode --debug-brk test.js\r\n\r\nThen navigated to module source and added breakpoint. Works!\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3465572-cannot-set-break-within-a-module-loaded-with-require?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/101824093","html_url":"https://github.com/node-inspector/node-inspector/issues/416#issuecomment-101824093","issue_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/416","id":101824093,"user":{"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},"created_at":"2015-05-13T21:40:37Z","updated_at":"2015-05-13T21:40:37Z","body":"Fixed in 0.10.1"}}