{"action":"created","issue":{"url":"https://api.github.com/repos/Pomax/terminal-menu-program/issues/3","repository_url":"https://api.github.com/repos/Pomax/terminal-menu-program","labels_url":"https://api.github.com/repos/Pomax/terminal-menu-program/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Pomax/terminal-menu-program/issues/3/comments","events_url":"https://api.github.com/repos/Pomax/terminal-menu-program/issues/3/events","html_url":"https://github.com/Pomax/terminal-menu-program/issues/3","id":146860169,"number":3,"title":"Problems with program.debug","user":{"login":"kokujin","id":2885603,"avatar_url":"https://avatars.githubusercontent.com/u/2885603?v=3","gravatar_id":"","url":"https://api.github.com/users/kokujin","html_url":"https://github.com/kokujin","followers_url":"https://api.github.com/users/kokujin/followers","following_url":"https://api.github.com/users/kokujin/following{/other_user}","gists_url":"https://api.github.com/users/kokujin/gists{/gist_id}","starred_url":"https://api.github.com/users/kokujin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokujin/subscriptions","organizations_url":"https://api.github.com/users/kokujin/orgs","repos_url":"https://api.github.com/users/kokujin/repos","events_url":"https://api.github.com/users/kokujin/events{/privacy}","received_events_url":"https://api.github.com/users/kokujin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-08T08:38:26Z","updated_at":"2016-04-11T09:32:46Z","closed_at":null,"body":"I have problems logging out a value. Given this snippet:\r\n\r\n`````\r\nvar mainMenu = (function(program, currentShop) {\r\n        var menu = program.menu('main');\r\n        menu.text('TERMINAL');\r\n        \r\n        menu.option('TEST', 'testMenu', function(){\r\n            program.debug('debug');            \r\n        });    \r\n        menu.spacer();\r\n        menu.cancel('exit', function() {\r\n            program.halt(); process.exit(0);\r\n        });\r\n        return menu;\r\n    }(program));\r\n``````\r\n\r\nThe value is not logged to the console or menu. Can someone tell me what I am doing wrong? Thanks"},"comment":{"url":"https://api.github.com/repos/Pomax/terminal-menu-program/issues/comments/208251976","html_url":"https://github.com/Pomax/terminal-menu-program/issues/3#issuecomment-208251976","issue_url":"https://api.github.com/repos/Pomax/terminal-menu-program/issues/3","id":208251976,"user":{"login":"kokujin","id":2885603,"avatar_url":"https://avatars.githubusercontent.com/u/2885603?v=3","gravatar_id":"","url":"https://api.github.com/users/kokujin","html_url":"https://github.com/kokujin","followers_url":"https://api.github.com/users/kokujin/followers","following_url":"https://api.github.com/users/kokujin/following{/other_user}","gists_url":"https://api.github.com/users/kokujin/gists{/gist_id}","starred_url":"https://api.github.com/users/kokujin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokujin/subscriptions","organizations_url":"https://api.github.com/users/kokujin/orgs","repos_url":"https://api.github.com/users/kokujin/repos","events_url":"https://api.github.com/users/kokujin/events{/privacy}","received_events_url":"https://api.github.com/users/kokujin/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T09:32:46Z","updated_at":"2016-04-11T09:32:46Z","body":"No errors. It just does´nt do anything."}}