{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/lab/issues/651","repository_url":"https://api.github.com/repos/hapijs/lab","labels_url":"https://api.github.com/repos/hapijs/lab/issues/651/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/lab/issues/651/comments","events_url":"https://api.github.com/repos/hapijs/lab/issues/651/events","html_url":"https://github.com/hapijs/lab/issues/651","id":184359773,"number":651,"title":"Implement --inspect so debugging inside a test is possible?","user":{"login":"rainabba","id":553630,"avatar_url":"https://avatars.githubusercontent.com/u/553630?v=3","gravatar_id":"","url":"https://api.github.com/users/rainabba","html_url":"https://github.com/rainabba","followers_url":"https://api.github.com/users/rainabba/followers","following_url":"https://api.github.com/users/rainabba/following{/other_user}","gists_url":"https://api.github.com/users/rainabba/gists{/gist_id}","starred_url":"https://api.github.com/users/rainabba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainabba/subscriptions","organizations_url":"https://api.github.com/users/rainabba/orgs","repos_url":"https://api.github.com/users/rainabba/repos","events_url":"https://api.github.com/users/rainabba/events{/privacy}","received_events_url":"https://api.github.com/users/rainabba/received_events","type":"User","site_admin":false},"labels":[{"id":82685561,"url":"https://api.github.com/repos/hapijs/lab/labels/request","name":"request","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-10-20T22:48:48Z","updated_at":"2016-11-14T07:44:37Z","closed_at":null,"body":"For me, --inspect (native V8 debugging with devtools) is a god-send. The only thing that would be more amazing is the ability to use it in a test so I can more easily debug failures.\n\n[node.js debugger](https://nodejs.org/api/debugger.html) and [debugging-node-js-with-v8-inspecto](https://blog.continuation.io/debugging-node-js-with-v8-inspector/) if you're not familiar.\n\nThis possible? Already in the works?\n"},"comment":{"url":"https://api.github.com/repos/hapijs/lab/issues/comments/260268378","html_url":"https://github.com/hapijs/lab/issues/651#issuecomment-260268378","issue_url":"https://api.github.com/repos/hapijs/lab/issues/651","id":260268378,"user":{"login":"gregorleban","id":809658,"avatar_url":"https://avatars.githubusercontent.com/u/809658?v=3","gravatar_id":"","url":"https://api.github.com/users/gregorleban","html_url":"https://github.com/gregorleban","followers_url":"https://api.github.com/users/gregorleban/followers","following_url":"https://api.github.com/users/gregorleban/following{/other_user}","gists_url":"https://api.github.com/users/gregorleban/gists{/gist_id}","starred_url":"https://api.github.com/users/gregorleban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregorleban/subscriptions","organizations_url":"https://api.github.com/users/gregorleban/orgs","repos_url":"https://api.github.com/users/gregorleban/repos","events_url":"https://api.github.com/users/gregorleban/events{/privacy}","received_events_url":"https://api.github.com/users/gregorleban/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T07:44:37Z","updated_at":"2016-11-14T07:44:37Z","body":"Currently, running node with --inspect prints to console text such as:\r\n\r\nTo start debugging, open the following URL in Chrome:\r\n    chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:9229/f6f4ba01-8b04-435d-bdd8-9d9830a13ea9\r\nDebugger attached.\r\n\r\nAny way of automatically opening the url in chrome? Currently restarting the debugger requires a frequent need to copy and paste the urls that change on every restart.\r\n"}}
{"actor":{"display_login":"gregorleban"}}