{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/6377","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/6377/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/6377/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/6377/events","html_url":"https://github.com/nodejs/node/pull/6377","id":150944723,"number":6377,"title":"doc: Document the `--stack-trace-limit` cli flag.","user":{"login":"lance","id":15952,"avatar_url":"https://avatars.githubusercontent.com/u/15952?v=3","gravatar_id":"","url":"https://api.github.com/users/lance","html_url":"https://github.com/lance","followers_url":"https://api.github.com/users/lance/followers","following_url":"https://api.github.com/users/lance/following{/other_user}","gists_url":"https://api.github.com/users/lance/gists{/gist_id}","starred_url":"https://api.github.com/users/lance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lance/subscriptions","organizations_url":"https://api.github.com/users/lance/orgs","repos_url":"https://api.github.com/users/lance/repos","events_url":"https://api.github.com/users/lance/events{/privacy}","received_events_url":"https://api.github.com/users/lance/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/doc","name":"doc","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-04-25T18:26:26Z","updated_at":"2016-04-25T21:31:15Z","closed_at":"2016-04-25T18:44:35Z","pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/6377","html_url":"https://github.com/nodejs/node/pull/6377","diff_url":"https://github.com/nodejs/node/pull/6377.diff","patch_url":"https://github.com/nodejs/node/pull/6377.patch"},"body":"\r\n##### Checklist\r\n\r\n- [x] documentation is changed or added\r\n- [x] the commit message follows commit guidelines\r\n\r\n\r\n##### Affected core subsystem(s)\r\n\r\ndoc\r\n\r\n\r\n##### Description of change\r\n\r\nPartially fixes https://github.com/nodejs/node/issues/6271. This commit\r\nsimply documents the V8 cli option `--stack_trace_limit` but specifies\r\ndashes instead of underscores, which is the Node.js cli convention. I\r\ndid not write a test for this, since the behavior hasn't changed. But I\r\ndid validate locally that `--stack-trace-limit=N` works as now\r\ndocumented.\r\n\r\nThe issue noted also has a feature request for functional changes to\r\nthe stack trace display, potentially filtering Node.js internals. And also,\r\npotentially increasing the `Error.stackTraceLimit` just for the first tick\r\nfor `Module.runMain`. This PR does not address those requests since\r\nit wasn't really clear to me from the conversation if those were really\r\ndesired or needed."},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/214529919","html_url":"https://github.com/nodejs/node/pull/6377#issuecomment-214529919","issue_url":"https://api.github.com/repos/nodejs/node/issues/6377","id":214529919,"user":{"login":"lance","id":15952,"avatar_url":"https://avatars.githubusercontent.com/u/15952?v=3","gravatar_id":"","url":"https://api.github.com/users/lance","html_url":"https://github.com/lance","followers_url":"https://api.github.com/users/lance/followers","following_url":"https://api.github.com/users/lance/following{/other_user}","gists_url":"https://api.github.com/users/lance/gists{/gist_id}","starred_url":"https://api.github.com/users/lance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lance/subscriptions","organizations_url":"https://api.github.com/users/lance/orgs","repos_url":"https://api.github.com/users/lance/repos","events_url":"https://api.github.com/users/lance/events{/privacy}","received_events_url":"https://api.github.com/users/lance/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T21:31:15Z","updated_at":"2016-04-25T21:31:15Z","body":"@indutny that works for me and fwiw, I agree with earlier sentiment that this info is useful for more than just core committers. Often times it's helped me figure out wtf I was doing wrong in application code. As I said, I was just swinging for low hanging fruit."}}