{"action":"created","issue":{"url":"https://api.github.com/repos/angular/protractor/issues/1688","labels_url":"https://api.github.com/repos/angular/protractor/issues/1688/labels{/name}","comments_url":"https://api.github.com/repos/angular/protractor/issues/1688/comments","events_url":"https://api.github.com/repos/angular/protractor/issues/1688/events","html_url":"https://github.com/angular/protractor/issues/1688","id":53544101,"number":1688,"title":"browser.debugger() fails to pause test","user":{"login":"jdgblinq","id":5630973,"avatar_url":"https://avatars.githubusercontent.com/u/5630973?v=3","gravatar_id":"","url":"https://api.github.com/users/jdgblinq","html_url":"https://github.com/jdgblinq","followers_url":"https://api.github.com/users/jdgblinq/followers","following_url":"https://api.github.com/users/jdgblinq/following{/other_user}","gists_url":"https://api.github.com/users/jdgblinq/gists{/gist_id}","starred_url":"https://api.github.com/users/jdgblinq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdgblinq/subscriptions","organizations_url":"https://api.github.com/users/jdgblinq/orgs","repos_url":"https://api.github.com/users/jdgblinq/repos","events_url":"https://api.github.com/users/jdgblinq/events{/privacy}","received_events_url":"https://api.github.com/users/jdgblinq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/protractor/labels/needs%3A+investigation","name":"needs: investigation","color":"207de5"},{"url":"https://api.github.com/repos/angular/protractor/labels/needs%3A+more+info","name":"needs: more info","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-06T18:09:30Z","updated_at":"2015-01-06T19:39:39Z","closed_at":null,"body":"I'm running 1.4 and 1.5 of protractor with webdriver standalone and chromedriver on Mac OSX. Setting `browser.debugger()` in a test and running protractor with the debug argument results in the debug prompt, but pressing `c` causes my test to fail on the line *after* the `browser.debugger()` statement.\r\n\r\nUsing `debugger` instead pauses the test where expected. I see browser.debugger() mentioned as far back as protractor 0.20 on the web, so I'm fairly certain it should work. How do I debug this situation?"},"comment":{"url":"https://api.github.com/repos/angular/protractor/issues/comments/68920749","html_url":"https://github.com/angular/protractor/issues/1688#issuecomment-68920749","issue_url":"https://api.github.com/repos/angular/protractor/issues/1688","id":68920749,"user":{"login":"juliemr","id":2081709,"avatar_url":"https://avatars.githubusercontent.com/u/2081709?v=3","gravatar_id":"","url":"https://api.github.com/users/juliemr","html_url":"https://github.com/juliemr","followers_url":"https://api.github.com/users/juliemr/followers","following_url":"https://api.github.com/users/juliemr/following{/other_user}","gists_url":"https://api.github.com/users/juliemr/gists{/gist_id}","starred_url":"https://api.github.com/users/juliemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliemr/subscriptions","organizations_url":"https://api.github.com/users/juliemr/orgs","repos_url":"https://api.github.com/users/juliemr/repos","events_url":"https://api.github.com/users/juliemr/events{/privacy}","received_events_url":"https://api.github.com/users/juliemr/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T19:39:39Z","updated_at":"2015-01-06T19:39:39Z","body":"OK, I think what you are saying is just that `browser.debugger() != debugger`.\r\n\r\nThis is commented in http://angular.github.io/protractor/#/debugging, but I'll also update the function description to try to make it super clear that `browser.debugger()` isn't just an alias for `debugger`."}}