{"action":"created","issue":{"url":"https://api.github.com/repos/Financial-Times/next-build-tools/issues/162","labels_url":"https://api.github.com/repos/Financial-Times/next-build-tools/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/Financial-Times/next-build-tools/issues/162/comments","events_url":"https://api.github.com/repos/Financial-Times/next-build-tools/issues/162/events","html_url":"https://github.com/Financial-Times/next-build-tools/pull/162","id":98370007,"number":162,"title":"Add debug flag to run task","user":{"login":"i-like-robots","id":271645,"avatar_url":"https://avatars.githubusercontent.com/u/271645?v=3","gravatar_id":"","url":"https://api.github.com/users/i-like-robots","html_url":"https://github.com/i-like-robots","followers_url":"https://api.github.com/users/i-like-robots/followers","following_url":"https://api.github.com/users/i-like-robots/following{/other_user}","gists_url":"https://api.github.com/users/i-like-robots/gists{/gist_id}","starred_url":"https://api.github.com/users/i-like-robots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-like-robots/subscriptions","organizations_url":"https://api.github.com/users/i-like-robots/orgs","repos_url":"https://api.github.com/users/i-like-robots/repos","events_url":"https://api.github.com/users/i-like-robots/events{/privacy}","received_events_url":"https://api.github.com/users/i-like-robots/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-31T11:08:30Z","updated_at":"2015-07-31T11:14:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Financial-Times/next-build-tools/pulls/162","html_url":"https://github.com/Financial-Times/next-build-tools/pull/162","diff_url":"https://github.com/Financial-Times/next-build-tools/pull/162.diff","patch_url":"https://github.com/Financial-Times/next-build-tools/pull/162.patch"},"body":"So we can attach node-inspector or similar tools to step-through code.\r\n\r\n1. Run [node-inspector](https://github.com/node-inspector/node-inspector)\r\n2. Run the app with debug flag `nbt run --local --debug`\r\n3. Hit app on it's own port (hitting the router will timeout if you have any breakpoints) "},"comment":{"url":"https://api.github.com/repos/Financial-Times/next-build-tools/issues/comments/126657179","html_url":"https://github.com/Financial-Times/next-build-tools/pull/162#issuecomment-126657179","issue_url":"https://api.github.com/repos/Financial-Times/next-build-tools/issues/162","id":126657179,"user":{"login":"charypar","id":1517854,"avatar_url":"https://avatars.githubusercontent.com/u/1517854?v=3","gravatar_id":"","url":"https://api.github.com/users/charypar","html_url":"https://github.com/charypar","followers_url":"https://api.github.com/users/charypar/followers","following_url":"https://api.github.com/users/charypar/following{/other_user}","gists_url":"https://api.github.com/users/charypar/gists{/gist_id}","starred_url":"https://api.github.com/users/charypar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charypar/subscriptions","organizations_url":"https://api.github.com/users/charypar/orgs","repos_url":"https://api.github.com/users/charypar/repos","events_url":"https://api.github.com/users/charypar/events{/privacy}","received_events_url":"https://api.github.com/users/charypar/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T11:14:01Z","updated_at":"2015-07-31T11:14:01Z","body":":heart: "}}