{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3427","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3427/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3427/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3427/events","html_url":"https://github.com/fish-shell/fish-shell/issues/3427","id":181401262,"number":3427,"title":"Add a way to toggle debug mode in Fish shell","user":{"login":"edouard-lopez","id":1212392,"avatar_url":"https://avatars.githubusercontent.com/u/1212392?v=3","gravatar_id":"","url":"https://api.github.com/users/edouard-lopez","html_url":"https://github.com/edouard-lopez","followers_url":"https://api.github.com/users/edouard-lopez/followers","following_url":"https://api.github.com/users/edouard-lopez/following{/other_user}","gists_url":"https://api.github.com/users/edouard-lopez/gists{/gist_id}","starred_url":"https://api.github.com/users/edouard-lopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edouard-lopez/subscriptions","organizations_url":"https://api.github.com/users/edouard-lopez/orgs","repos_url":"https://api.github.com/users/edouard-lopez/repos","events_url":"https://api.github.com/users/edouard-lopez/events{/privacy}","received_events_url":"https://api.github.com/users/edouard-lopez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4","html_url":"https://github.com/fish-shell/fish-shell/milestones/fish-future","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4/labels","id":130257,"number":4,"title":"fish-future","description":"These are issues that are not targeted for an upcoming minor or major release. After a release, we will re-examine these issues and pull any in that we think are good targets; that is retarget them to the next minor (or major) release.\r\n\r\nIf you can provide a fix for an issue in this milestone, we'll generally accept it for the next release even if the issue is not targeted for the release.","creator":{"login":"ridiculousfish","id":920838,"avatar_url":"https://avatars.githubusercontent.com/u/920838?v=3","gravatar_id":"","url":"https://api.github.com/users/ridiculousfish","html_url":"https://github.com/ridiculousfish","followers_url":"https://api.github.com/users/ridiculousfish/followers","following_url":"https://api.github.com/users/ridiculousfish/following{/other_user}","gists_url":"https://api.github.com/users/ridiculousfish/gists{/gist_id}","starred_url":"https://api.github.com/users/ridiculousfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ridiculousfish/subscriptions","organizations_url":"https://api.github.com/users/ridiculousfish/orgs","repos_url":"https://api.github.com/users/ridiculousfish/repos","events_url":"https://api.github.com/users/ridiculousfish/events{/privacy}","received_events_url":"https://api.github.com/users/ridiculousfish/received_events","type":"User","site_admin":false},"open_issues":378,"closed_issues":4,"state":"open","created_at":"2012-06-11T02:25:13Z","updated_at":"2016-10-06T19:08:47Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-10-06T12:29:40Z","updated_at":"2016-10-06T23:16:35Z","closed_at":null,"body":"Based from [How to toggle debug mode in Fish shell?](http://stackoverflow.com/q/39892236/802365)\r\n\r\n### Bash legacy\r\n\r\nIn `bash` I do `set -x` and `set +x` enable/disable the debug mode in a limited scope.\r\n\r\nI'm aware of [how to debug fish script?][1], but I would like to toggle debug mode in a more precise way, _e.g._ inside a function.\r\n\r\n### Question\r\n~~What is the equivalent of `set -x`/`set -x` in Fish shell?~~\r\n\r\nWould you mind implementing such future?\r\n\r\n\r\n  [1]: http://stackoverflow.com/q/34188411/802365"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/252114597","html_url":"https://github.com/fish-shell/fish-shell/issues/3427#issuecomment-252114597","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3427","id":252114597,"user":{"login":"floam","id":291142,"avatar_url":"https://avatars.githubusercontent.com/u/291142?v=3","gravatar_id":"","url":"https://api.github.com/users/floam","html_url":"https://github.com/floam","followers_url":"https://api.github.com/users/floam/followers","following_url":"https://api.github.com/users/floam/following{/other_user}","gists_url":"https://api.github.com/users/floam/gists{/gist_id}","starred_url":"https://api.github.com/users/floam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floam/subscriptions","organizations_url":"https://api.github.com/users/floam/orgs","repos_url":"https://api.github.com/users/floam/repos","events_url":"https://api.github.com/users/floam/events{/privacy}","received_events_url":"https://api.github.com/users/floam/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T23:16:35Z","updated_at":"2016-10-06T23:16:35Z","body":"Except I guess I have a `trace` in `$PATH`."}}
{"actor":{"display_login":"floam"}}