{"action":"created","issue":{"url":"https://api.github.com/repos/deivid-rodriguez/byebug/issues/217","repository_url":"https://api.github.com/repos/deivid-rodriguez/byebug","labels_url":"https://api.github.com/repos/deivid-rodriguez/byebug/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/deivid-rodriguez/byebug/issues/217/comments","events_url":"https://api.github.com/repos/deivid-rodriguez/byebug/issues/217/events","html_url":"https://github.com/deivid-rodriguez/byebug/issues/217","id":140251255,"number":217,"title":"'p' (print) not documented and prints value twice","user":{"login":"hlindberg","id":563066,"avatar_url":"https://avatars.githubusercontent.com/u/563066?v=3","gravatar_id":"","url":"https://api.github.com/users/hlindberg","html_url":"https://github.com/hlindberg","followers_url":"https://api.github.com/users/hlindberg/followers","following_url":"https://api.github.com/users/hlindberg/following{/other_user}","gists_url":"https://api.github.com/users/hlindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/hlindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlindberg/subscriptions","organizations_url":"https://api.github.com/users/hlindberg/orgs","repos_url":"https://api.github.com/users/hlindberg/repos","events_url":"https://api.github.com/users/hlindberg/events{/privacy}","received_events_url":"https://api.github.com/users/hlindberg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-11T18:00:34Z","updated_at":"2016-03-13T02:54:02Z","closed_at":"2016-03-12T16:30:49Z","body":"There seems to be a 'p' command (for print like in 'debugger'), but it results in its argument being printed twice:\r\n```\r\np 1\r\n1\r\n1\r\n```"},"comment":{"url":"https://api.github.com/repos/deivid-rodriguez/byebug/issues/comments/195859532","html_url":"https://github.com/deivid-rodriguez/byebug/issues/217#issuecomment-195859532","issue_url":"https://api.github.com/repos/deivid-rodriguez/byebug/issues/217","id":195859532,"user":{"login":"hlindberg","id":563066,"avatar_url":"https://avatars.githubusercontent.com/u/563066?v=3","gravatar_id":"","url":"https://api.github.com/users/hlindberg","html_url":"https://github.com/hlindberg","followers_url":"https://api.github.com/users/hlindberg/followers","following_url":"https://api.github.com/users/hlindberg/following{/other_user}","gists_url":"https://api.github.com/users/hlindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/hlindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlindberg/subscriptions","organizations_url":"https://api.github.com/users/hlindberg/orgs","repos_url":"https://api.github.com/users/hlindberg/repos","events_url":"https://api.github.com/users/hlindberg/events{/privacy}","received_events_url":"https://api.github.com/users/hlindberg/received_events","type":"User","site_admin":false},"created_at":"2016-03-13T02:54:02Z","updated_at":"2016-03-13T02:54:02Z","body":"When using the debugger < ruby 2.0.0, the 'p' is used to print out the value. It is used when you have a variable named like one of the debugger commands - i.e. like 'step'. You quickly get into the habit of always using it to print something (or you accidentally, sometimes will hit one of the commands).\r\n\r\nThat makes it quite annoying when using this on byebug. I would be great if it did not print out the result of printing, and just printed once."}}